Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 9.1
-
Component/s: Quality Profile, Web
-
Labels:
-
Edition:Community
-
Production Notes:None
Description
Currently, we only show the Bulk Change button on the Rules page if the user has permissions to administer all quality profiles. But some users have "edit" permissions on specific Quality Profiles. For such users, it would also make sense to show the Bulk Change button, when in context of a specific profile.
Solution
In src/main/js/apps/coding-rules/components/App.tsx, update renderBulkButton() to not only check the global permission, but also if in context of a single profile (state.query.profile), and whether the user has profile.actions.edit permissions on that profile. If true, we should be able to enable the Bulk Change button.
Attachments
Issue Links
- relates to
-
SUPPORT-26472 Loading...