Bug 672681 - adding user to new role erases users old roles
Summary: adding user to new role erases users old roles
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.0.0.B02
Hardware: Unspecified
OS: Unspecified
medium
medium vote
Target Milestone: ---
: ---
Assignee: Ian Springer
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-25 20:07 UTC by John Mazzitelli
Modified: 2013-08-06 00:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description John Mazzitelli 2011-01-25 20:07:47 UTC
I just created a new user, assigned it to the All Resources role. Saved.

I then went over to the role UI and created a role called "Provisioning" and just enabled the global "bundle" permission to it.

As part of me creating that role (I didn't save it yet), I assigned the new role to my user I created earlier. I then hit save to save the role.

I then went back to look at the user, and the "All resources" role was missing, all he had was the new Provisioning role.

Comment 1 Ian Springer 2011-01-25 22:45:44 UTC
Fixed in master (commit 6cd53e7).

Comment 2 Sudhir D 2011-02-22 10:35:14 UTC
Verified against RHQ 4.0.0-SNAPSHOT build# f896da0. 

1. Created new user and assigned All Resource Role.
2. Went over to Role UI and created new role called Provisioning (did not hit save yet), assigned this new role to the newly created user in 1 and then hit the save button.
3. Went back to User UI and then looked at the newly created user's role. 

I could see both the roles assigned to the user. 

Marking this bug as verified.

Comment 3 Corey Welton 2011-05-24 01:16:27 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 4 Corey Welton 2011-05-24 01:16:37 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 5 Corey Welton 2011-05-24 01:16:37 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 6 Corey Welton 2011-05-24 01:16:42 UTC
Bookkeeping - closing bug - fixed in recent release.


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