[
https://jira.jboss.org/jira/browse/JOPR-110?page=com.atlassian.jira.plugi...
]
John Mazzitelli closed JOPR-110.
--------------------------------
Resolution: Rejected
You need to have the global MANAGE_INVENTORY permission as per the error message:
Failed to associate package [AutoAudit.war] with channel ID [500550]. Cause:
org.rhq.enterprise.server.authz.PermissionException:Subject [websupport] is not authorized
for [MANAGE_INVENTORY]: invocation: method=public void
This particular action is not resource-specific, thus the resource permissions do not come
into play. You are associating a package with a channel - associating packages with
channels is not resource-specific (other resources can be associated with channels).
If you have a user that does not have MANAGE_INVENTORY permissions, you must have a user
that DOES have permissions to associate that package (the war) to the channel in order to
do so - then your user can deploy that package to the resource.
I am rejecting this JIRA because of the above (i.e. you are missing the proper
permission).
HOWEVER, we need to look into how a user with MANAGE_INVENTORY can associate a package
with a channel WITHOUT deploying that package to a resource. If *that* functionality is
missing, we need to create a JIRA specifically for that. In other words, we need a JIRA if
we cannot support this use-case:
1) user WITH MANAGE_INVENTORY must be able to associate a package with a channel
2) user WITHOUT MANAGE_INVENTORY but WITH CONTENT permissions should be able to deploy
that package from that channel
I can't remember the full workflow in the content subsystem to see how it does/should
work... but I believe the above should be a use-case we support.
Create new package error
------------------------
Key: JOPR-110
URL:
https://jira.jboss.org/jira/browse/JOPR-110
Project: Jopr
Issue Type: Bug
Components: Plugin - RHQ Server
Affects Versions: 2.1
Environment: CentOS, JON 2.1, JBoss AS 4.2.3, JDK 1.5_12
Reporter: senthurkumaran masilamani
Unable to create new package with full resource permissions.
Getting the following error.
Failed to associate package [AutoAudit.war] with channel ID [500550]. Cause:
org.rhq.enterprise.server.authz.PermissionException:Subject [websupport] is not authorized
for [MANAGE_INVENTORY]: invocation: method=public void
org.rhq.enterprise.server.content.ChannelManagerBean.addPackageVersionsToChannel(org.rhq.core.domain.auth.Subject,int,int[])
throws java.lang.Exception,context-data={}
Permissions assigned to the user is Modify,Delete, Create Children, Alert, measure,
Content, Control, Configure.
Please look into this issue .
thanks & regards
Senthur
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira