Bug 1006577

Summary: cannot assign bundles to bundle group
Product: [Other] RHQ Project Reporter: John Mazzitelli <mazz>
Component: ProvisioningAssignee: Jay Shaughnessy <jshaughn>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: high    
Version: 4.9CC: ahovsepy, hrupp
Target Milestone: ---   
Target Release: RHQ 4.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1006687 (view as bug list) Environment:
Last Closed: 2014-04-23 12:32:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1006687    
Attachments:
Description Flags
assignGroup
none
assignBundleToGroup none

Description John Mazzitelli 2013-09-10 21:02:09 UTC
The "assign to bundles in bundle group" permission is broken.

Create a role that has the bundle group permission "assigned to bundles in group", associate that role with a bundle group and and associate the role to a user.

Create a bundle and put it in some other bundle group (or unassigned - that would probably be ok too).

Log in as the user and try to assign the bundle to the bundle group with "assigned to bundles in group" permission enabled.

There is no way to assign it, something is wrong.

Comment 1 John Mazzitelli 2013-09-10 21:02:56 UTC
note, you can assign bundles to bundle groups but only if you have the global permission to do so.

Comment 2 Jay Shaughnessy 2013-09-11 20:29:40 UTC
commit 741da74f13e3b348eb483fc3c9b3641eb14eb494
Author: Jay Shaughnessy <jshaughn>
Date:   Wed Sep 11 16:25:44 2013 -0400

  Apply fine-grained permissions to bundle assignment for a bundle group. It
  was only driving off the global.manage_bundle_groups permission.

  Add support top to bottom for getting bundle group perms, from authz bean
  to gui services/permission loader, to bundle selector, to bundle group view.

Comment 3 Armine Hovsepyan 2013-10-08 13:06:42 UTC
Created attachment 809267 [details]
assignGroup

Comment 4 Armine Hovsepyan 2013-10-08 13:37:33 UTC
Created attachment 809289 [details]
assignBundleToGroup

Comment 5 Armine Hovsepyan 2013-10-08 13:38:26 UTC
verified
please get screen-shot attached

Comment 6 Heiko W. Rupp 2014-04-23 12:32:14 UTC
Bulk closing of 4.10 issues.

If an issue is not solved for you, please open a new BZ (or clone the existing one) with a version designator of 4.10.