Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-272

RBAC: role-mapping are assumed to be in form of type-principal@realm in Role assignment administration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.1.0
    • None
    • None
    • None

      Console assumes that all role-mappings names are in form of type-principal@realm (e.g. user-someuser@SomeRealm or group-somegroup@SomeRealm). Consequently it is not possible to manage role mappings created through other management interfaces and named differently.

      Steps to reproduce:

      1) create role mapping
      /core-service=management/access=authorization/role-mapping=MONITOR:add()
      /core-service=management/access=authorization/role-mapping=MONITOR/include=monitor:add(name=monitor, type=user, realm=ManagementRealm)

      2) Navigate to Administration - Role Assignment
      3) Try to remove role assignments for user monitor

      Expected result: role-mappings for user monitor are removed
      Actual result: Error message (Unable to remove...) due to different naming than expected.

              hpehl@redhat.com Harald Pehl
              hpehl@redhat.com Harald Pehl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: