Bug 155296
Summary: | Editing user in your account strips roles | ||
---|---|---|---|
Product: | [Retired] Red Hat Network | Reporter: | Ken Ganong <kganong> |
Component: | RHN/R&D | Assignee: | Michael Bowman <mbowman> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | RHN Devel | CC: | rhn-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | rhn400 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-09-28 20:55:16 UTC | Type: | --- |
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: | 125080 |
Description
Ken Ganong
2005-04-18 20:18:03 UTC
Refactored our Actions for this. Basically, the problem was that we were calling the same action for both self editing and when an admin edits an account. For the self editing we don't edit roles, therefore our action gets null for the new role set. For the admin editing action, we weren't ever removing roles from a user. When I fixed this, the self edit broke because the action didn't know if it got null because the user wasn't allowed to select any roles, or because all roles had been removed. We now have two actions with the commonality factored out into a helper class. Verified, closing. |