Bug 1457658

Summary: Cloned role has no builtin value
Product: Red Hat Satellite Reporter: Shimon Shtein <sshtein>
Component: AuthorizationAssignee: Marek Hulan <mhulan>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, ehelms, jcallaha, mhulan, orabin, sshtein
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-12 13:46:01 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:

Description Shimon Shtein 2017-06-01 06:26:59 UTC
Creating a new role from the Administer table by cloning an existing role results in no value being entered into the 'builtin' field. This makes the role non selectable in the user and groups menus and not deletable. Work around is to update the roles table directly eg: "update roles set builtin = 0 where id = xx;".

Note: This is 1.11.2 which is not selectable below so please accept my apologies if this has been fixed in 1.11.3

Comment 1 Shimon Shtein 2017-06-01 06:27:04 UTC
Created from redmine issue http://projects.theforeman.org/issues/15108

Comment 3 Marek Hulan 2017-06-01 06:45:28 UTC
Shim, I think this was fixed in 6.2.9 by BZ 1353788, can you still reproduce with this version?

Comment 4 Satellite Program 2017-06-01 08:08:32 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/15108 has been resolved.