- Notifications
You must be signed in to change notification settings - Fork928
fix: only show valid organizations inCreateTemplateForm
#14174
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
hide any organizations that the user might have view permissions for, but not permission to create a template
alwaysmeticulousbot commentedAug 5, 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 82 of 735 screens tested:view and approve differences detected. Last updated for commit37b84eb. This comment will update as new commits are pushed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Permission LG 👍
{"object":{"resource_type":"template","organization_id:"<org_id> },"action":"create"}
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Code looks good. I just have one minor question. Going to QA this right now 👀
You are right, it is this call: But we only query it for the primary org, which is going to fail for the org-admin in the second org. |
3b53f5a
intomainUh oh!
There was an error while loading.Please reload this page.
Closes#14004
Hide any organizations that the user might have view permissions for, but not permission to create a template