himanshumaurya09876 opened a new pull request, #4027:
URL: https://github.com/apache/ambari/pull/4027
## What changes were proposed in this pull request?
It includes fixes for the following issues:-
1. Creating new user should not revoke the cluster user privilege for other
users.
2. On changing permissions from group the corresponding users permissions
should also be updated.
3. User can have permission from groups side as well, it should assign the
permissions based on the permission order.
orderedRoles = [
"AMBARI.ADMINISTRATOR",
"CLUSTER.ADMINISTRATOR",
"CLUSTER.OPERATOR",
"SERVICE.ADMINISTRATOR",
"SERVICE.OPERATOR",
"CLUSTER.USER",
]
4. On edit user page view privileges should not include duplicate instances
if it is getting added from group side also.
## How was this patch tested?
Manual testing of the UI.
<img width="1239" alt="Screenshot 2025-06-19 at 4 25 51 PM"
src="https://github.com/user-attachments/assets/c0f54902-943d-4244-8f55-d67b689cb61f"
/>
<img width="1443" alt="Screenshot 2025-06-19 at 4 26 29 PM"
src="https://github.com/user-attachments/assets/ee730bcc-9a60-4b44-9cd6-4545fa22dbd8"
/>
Please review [Ambari Contributing
Guide](https://cwiki.apache.org/confluence/display/AMBARI/How+to+Contribute)
before opening a pull request.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]