Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1353788 - After cloning of roles you cant select the role nor can you delete them.
After cloning of roles you cant select the role nor can you delete them.
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Users & Roles (Show other bugs)
6.2.0
All All
high Severity medium (vote)
: 6.2.9
: Unused
Assigned To: Marek Hulan
Stanislav Tkachenko
: PrioBumpPM, Triaged
: 1350354 1388718 1457658 (view as bug list)
Depends On:
Blocks: 1416568 1426383
  Show dependency treegraph
 
Reported: 2016-07-07 22:16 EDT by Kim Borup
Modified: 2017-06-12 09:46 EDT (History)
21 users (show)

See Also:
Fixed In Version: foreman-1.11.0.75-1
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1416568 1426383 (view as bug list)
Environment:
Last Closed: 2017-05-01 09:52:53 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Screen of acctual problem. (11.56 KB, image/png)
2016-07-07 22:16 EDT, Kim Borup
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 15108 None None None 2016-08-04 10:10 EDT
Foreman Issue Tracker 16828 None None None 2017-03-17 09:21 EDT
Foreman Issue Tracker 18321 None None None 2017-03-17 09:21 EDT
Red Hat Product Errata RHBA-2017:1191 normal SHIPPED_LIVE Satellite 6.2.9 Async Bug Release 2017-05-01 13:49:42 EDT

  None (edit)
Description Kim Borup 2016-07-07 22:16:41 EDT
Created attachment 1177510 [details]
Screen of acctual problem.

Description of problem:
When you in satellite 6.2 clone a role, in this case a very restrictive role for a group of users, clone of that role becomes greyes out like the Anonymous or Default user role, you can add a filter to it, but you can not delete it nor can you assign it to a user. 

Version-Release number of selected component (if applicable):
6.2.0 beta 2

How reproducible:

All the time

Steps to Reproduce:
1. Select Administer -> roles
2. Clone any role build in or manualy created.
3. 

Actual results:
greyed out role you cant delete, nor assign to a user. 

Expected results:

A clone of a role that you can select and attach to a user. 

Additional info:

This is a work in progress at a customer site for a poc before the final 6.2 release.
Comment 2 Brad Buckingham 2016-07-08 15:35:28 EDT
Ohad, is this the expected behavior when cloning Roles?
Comment 3 Marek Hulan 2016-08-04 10:10:11 EDT
It's not expected behavior.
Comment 4 Bryan Kearney 2016-08-04 12:16:17 EDT
Upstream bug assigned to mhulan@redhat.com
Comment 5 Bryan Kearney 2016-08-04 12:16:22 EDT
Upstream bug assigned to mhulan@redhat.com
Comment 6 Marek Hulan 2016-08-11 04:31:22 EDT
*** Bug 1350354 has been marked as a duplicate of this bug. ***
Comment 7 Bryan Kearney 2016-08-11 08:16:52 EDT
Moving to POST since upstream bug http://projects.theforeman.org/issues/15108 has been closed
Comment 9 Roman Plevka 2016-10-20 06:37:54 EDT
VERIFIED
on sat6.3 snap#5

cloned built-in roles are now able to be deleted.
Comment 10 Marek Hulan 2016-10-26 03:32:51 EDT
*** Bug 1388718 has been marked as a duplicate of this bug. ***
Comment 12 pm-sat@redhat.com 2017-02-23 16:08:39 EST
Please add verifications steps for this bug to help QE verify
Comment 16 Lukas Zapletal 2017-02-24 10:26:58 EST
REL ENG: TWO patches required, both small:

https://github.com/theforeman/foreman/pull/3925
https://github.com/theforeman/foreman/pull/4244

I already filed MR for the former one.
Comment 18 Lukas Zapletal 2017-03-21 09:44:08 EDT
Sure it's trivial whitespace.
Comment 20 Lukas Zapletal 2017-03-21 09:52:19 EDT
QA Steps to Reproduce:
1. Select Administer -> roles
2. Clone any role build in or manualy created.
3. Attempt to delete it, it should be possible
Comment 21 Stanislav Tkachenko 2017-03-30 04:41:17 EDT
Verified on Sat 6.2.9-1, both built-in (Default User) and manually created roles can be cloned, cloned roles can be edited and deleted.
Comment 23 errata-xmlrpc 2017-05-01 09:52:53 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:1191
Comment 24 Marek Hulan 2017-06-12 09:46:01 EDT
*** Bug 1457658 has been marked as a duplicate of this bug. ***

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