Bug 839591 - All compatible groups are available for Bundle deployment when a user has specific resource groups assigned
Summary: All compatible groups are available for Bundle deployment when a user has spe...
Keywords:
Status: CLOSED DUPLICATE of bug 988553
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Provisioning
Version: JON 3.1.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: JON 3.2.0
Assignee: John Mazzitelli
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-12 11:51 UTC by Douglas Woods
Modified: 2013-07-25 20:02 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-07-25 20:02:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Douglas Woods 2012-07-12 11:51:39 UTC
Description of problem:
Created a role and assigned a resource group consisting of a subset of the resources inventoried. The role has the ability to do Bundle deployment. When attempting to do a Bundle deployment, all resources groups are availble in the Bundle deployment pull-down for the restricted user/role.

Version-Release number of selected component (if applicable):
3.1

How reproducible: 
Consistent

Steps to Reproduce:
1.Create a compatible group with a subset of resources(e.g restrictedgroup).
2.Create a second compatible group with resources(e.g. rhqadmingroup)
3.Create a role and assign the compatible group(restrictedgroup) via resource groups in step #1 to the role
4.Create a user and assign the role created in step#3 and allow this user to do Bundle view, etc..
5.Login in using the user created in step 4.
6. Start a Bundle deployment and in the pulldown menu for targeted compatible groups both "restrictedgroup" and "rhqadmingroup" will be available as a deployment group.
  
Actual results:
All compatible groups show up in the Bundle pull down menu

Expected results:
Only the resource/ldap groups assigned to a role show appear in the Bundle pull down menu

Additional info:

Comment 1 Heiko W. Rupp 2013-07-18 07:33:31 UTC
Mazz is looking at bundle permissions right now, so assigning to him.

Comment 2 John Mazzitelli 2013-07-18 12:48:59 UTC
We are just about to ramp up our development of this new feature as described on this design page:

https://docs.jboss.org/author/display/RHQ/Bundle+Permissions

It introduces the new concept of a "Bundle Group" and bundle permissions. I think this is what you want.

Comment 3 John Mazzitelli 2013-07-25 20:02:03 UTC
closing this as a dup - to track this effort, see bug #988553

*** This bug has been marked as a duplicate of bug 988553 ***


Note You need to log in before you can comment on or make changes to this bug.