Enable RBAC for management console and follow below steps :
SuperUser Role : admin
1. Login to admin console using 'admin' user go to Administration --> Roles --> Scoped Roles --> Add --> maintainer-scope-role
Base Role: Maintainer
Type: Server Group
Scope: main-server-group
save the changes.
2. Under "Users" add ldap user 'test' with above created scoped role Administration --> Users --> Add ---> test (include scoped role maintainer-scope-role)
Login using 'test' user under Domain --> Server Groups --> main-server-group is visible.
3. Login using 'admin' user and create server-group "new-server-group" with default profile and edit maintainer-scope-role to add "new-server-group" to the list of scope.
4. Logout and login with 'test' user "new-server-group" is not visible in the list of Server Groups.
With CLI :
After logging-in as 'test' user :
[domain@localhost:9999 /] /server-group=
main-server-group other-server-group
After restart the server group appears in the list
[domain@localhost:9999 /] /server-group=
main-server-group other-server-group third-server-group
Actual results: The CLI/Admin console does not prompt for a reload after adding the new server-group to the scoped-role and hence the changes aren't reflected when users belonging to 'scoped-role' login into admin console/CLI.
Expected Result :
Expected results: The CLI/Admin console should prompt for a reload after adding the new server-group to the scoped-role.