Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-15755

[GSS](7.2.z) WFCORE-4195 - CLI/Admin Console does not prompt for a reload after adding a new server-group to server-scoped-roles.

XMLWordPrintable

    • -
    • Hide

      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.

      Show
      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.

      CLI/Admin Console does not prompt for a reload after adding a new server-group to server-scoped-roles.

              chaowan@redhat.com Chao Wang
              rhn-support-sanaik Saisha Naik (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: