-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
7.0.0.ER7
When trying to deploy deployment which was already uploaded to the content repository in different server-group scope, it is not possible to upload the same deployment by user with permissions for different server-group scope.
This is expected, but the error message is suboptimal:
Cannot upload deployment: WFLYCTL0216: Management resource '[("deployment" => "tinyClusteredWebapp.war")]' not found
Steps to reproduce:
- unzip jboss-eap-7.0.0.ER7.zip
- ./jboss-eap-7.0/bin/add-user.sh -u main -p main
- ./jboss-eap-7.0/bin/add-user.sh -u other -p other
- ./jboss-eap-7.0/bin/jboss-cli.sh
- embed-host-controller
- /core-service=management/access=authorization/server-group-scoped-role=main-role:add(base-role=Maintainer, server-groups=[main-server-group])
- /core-service=management/access=authorization/role-mapping=main-role:add
- /core-service=management/access=authorization/role-mapping=main-role/include=user-main:add(type=USER, name=main)
- /core-service=management/access=authorization/server-group-scoped-role=other-role:add(base-role=Maintainer, server-groups=[other-server-group])
- /core-service=management/access=authorization/role-mapping=other-role:add
- /core-service=management/access=authorization/role-mapping=other-role/include=user-other:add(type=USER, name=other)
- /core-service=management/access=authorization:write-attribute(name=provider, value=rbac)
- stop-embedded-host-controller
- quit
- ./jboss-eap-7.0/bin/domain.sh
- go to http://localhost:9990/, login as main/main, go to Deployments/Content Repository, press Add, choose Upload a new deployment, upload a JAR/WAR/EAR, then assign it to the main-server-group
- log out, login as other/other and try to upload the exact same deployment
This JIRA is one specific manifestation of JBEAP-4125 and it originates in this EAP 6 Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1015524
- is blocked by
-
WFCORE-1502 RBAC: The two kinds of non-addressability
- Open
- is duplicated by
-
JBEAP-9283 RBAC: The two kinds of non-addressability
- Closed
- is related to
-
JBEAP-4125 Release Notes: RBAC: The two kinds of non-addressability
- Closed