Group Policy changes to resolve bug
What does this MR do and why?
Solves #388743 (closed)
Due to earlier policy changes, once group owner disables the Access Tokens
creations from settings. The checkbox would not render again and admin does not have the ability to enable creation of Access Tokens
again.
The issue happened since we were doing the same policy checks for Resource Access Token creation
and Render Admin Settings
.
With this MR I have resolved the issue
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
- Create a top-level group.
- Go to the group page.'
- Go to Settings > General > Permissions and group features.
- Under Permissions, uncheck the
Users can create project access tokens and group access tokens in this group
option. - Refresh the page and observe the
Users can create project access tokens and group access tokens in this group
option is still available.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Jessie Young