Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2088

Error creating server group as scoped role user

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.CR1
    • None
    • Management
    • None

      I've got a scoped role

      [domain@localhost:9999 /] /core-service=management/access=authorization/server-group-scoped-role=main-MAINTAINER:read-resource
      {
          "outcome" => "success",
          "result" => {
              "base-role" => "MAINTAINER",
              "server-groups" => ["main-server-group"]
          }
      }
      

      and try to create a server group, which leads to an exception:

      [domain@localhost:9999 /] /server-group=fooBar:add(){roles=MAIN-MAINTAINER}
      {
          "outcome" => "failed",
          "failure-description" => "JBAS014807: Management resource '[(\"server-group\" => \"fooBar\")]' not found",
          "rolled-back" => true
      }
      

              hpehl@redhat.com Harald Pehl
              rhn-support-hbraun Heiko Braun
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: