Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-490 Domain Management Role Based Access Control
  3. WFLY-1790

RBAC: HostScopedRole* operations are wrong (copy&paste from ServerGroupScopedRole*)

    Details

      Description

      This is the issue I was speaking about with Brian yesterday.

      The HostScopedRole* operations are clearly a copy&paste from ServerGroupScopedRole* operations. Sadly, there are few artifacts of this:

      • HostScopedRoleAdd.performRuntime refers to attribute definitions from ServerGroupScopedRoleResourceDefinition, while it should use the ones from HostScopedRolesResourceDefinition
      • all the HostScopedRoleAdd, HostScopedRoleRemove and HostScopedRoleWriteAttributeHandler operations expect that the hosts attribute will always contain a valid list, while it can easily be undefined (see HostScopedRolesResourceDefinition.HOSTS)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lthon Ladislav Thon
                Reporter:
                lthon Ladislav Thon
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: