ambari icon indicating copy to clipboard operation
ambari copied to clipboard

AMBARI-26518 : Ambari admin react - bug fixes

Open himanshumaurya09876 opened this issue 6 months ago • 2 comments

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.

Screenshot 2025-06-19 at 4 25 51 PM Screenshot 2025-06-19 at 4 26 29 PM

Please review Ambari Contributing Guide before opening a pull request.

himanshumaurya09876 avatar Jun 19 '25 11:06 himanshumaurya09876

Hi @JiaLiangC @zRains @vanshuhassija Kindly review and merge this PR.

himanshumaurya09876 avatar Jun 19 '25 11:06 himanshumaurya09876

+1 Thanks for contribution @himanshumaurya09876 🙌

sandeep318kumar avatar Jun 19 '25 11:06 sandeep318kumar

Hi @JiaLiangC @zRains @vanshuhassija @vishalsuvagia @arshadmohammad Kindly review and merge this PR.

himanshumaurya09876 avatar Jun 30 '25 09:06 himanshumaurya09876

+1 LGTM, @zrains / @JiaLiangC , request to kindly review the patch

vishalsuvagia avatar Jun 30 '25 10:06 vishalsuvagia

Thanks for contribution @himanshumaurya09876

JiaLiangC avatar Jul 01 '25 01:07 JiaLiangC