- Notifications
You must be signed in to change notification settings - Fork927
fix: only show editable orgs on deployment page#14193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
alwaysmeticulousbot commentedAug 6, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
🤖 Meticulous spotted visual differences in 528 of 1265 screens tested:view and approve differences detected. Last updated for commitba22bc9. This comment will update as new commits are pushed. |
Also make sure the redirect from /organizations goes to an org that theuser can edit, rather than always the default org.
f01285d
to713b954
CompareIf you cannot |
Uh oh!
There was an error while loading.Please reload this page.
code-asher commentedAug 7, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Yup I want to do this, I was going to do it in a separate PR though! For now it shows an ineditable form, as before. |
Perfect 👍. Mainly just curious |
We show the org on the sidebar if they can edit anything, and we showeach sub-link if they can view it, which means we were making both editand view permission checks.Instead, show each link if they can edit it (not just view), whichnegates the need for separate view permissions.Incidentally, this also reduces the number of checks we need to make forindividual pages, since some of them were only used on the sidebar.
92d15c5
to475f6e2
CompareThe new summary page:#14214 Kinda sad and sparse looking but hopefully better than an ineditable form 😛 |
caf0649
to83bf388
CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
site/src/pages/ManagementSettingsPage/OrganizationSettingsPage.tsx OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
site/src/pages/ManagementSettingsPage/OrganizationSettingsPage.test.tsx OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
1d95c86
to64631e1
Compare5d9378b
toba22bc9
Compare6019d0b
intomainUh oh!
There was an error while loading.Please reload this page.
Also make sure the redirect from /organizations goes to an org that the user can edit, rather than always the default org.