-
Notifications
You must be signed in to change notification settings - Fork 309
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NAS-130333 / 24.10 / Adds roles for app related api endpoint access elements #10417
Conversation
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.
There are console errors on Installed apps page:
Can't bind to 'ixRequiredRoles' since it isn't a known property of 'button'
@@ -32,6 +34,7 @@ | |||
{{ 'Manage Container Images' | translate }} | |||
</button> --> | |||
<button | |||
*ixRequiredRoles="manageCatalogRequiredRoles" |
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.
This can be allowed, because there is no other way for user to see what trains are currently selected.
Related: #10408
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.
Looks good, thanks.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #10417 +/- ##
==========================================
+ Coverage 76.92% 76.93% +0.01%
==========================================
Files 1622 1622
Lines 55126 55135 +9
Branches 6471 6471
==========================================
+ Hits 42407 42420 +13
+ Misses 12719 12715 -4 ☔ View full report in Codecov by Sentry. |
This PR has been merged and conversations have been locked. |
Changes:
Adds roles for app related api endpoint access elements
Testing:
Test from API docs that api related endpoints are not missed. Calls that are allowed for
READ_ONLY_ADMIN
role are skipped as they are always allowed.