Red Hat Bugzilla – Bug 1435007
admin users do not get new roles upon upgrade
Last modified: 2018-02-21 11:42:52 EST
Description of problem: If you typically log into your satellite with an admin user that is not the 'admin' user, you may miss out on new roles that are added in new releases. This may cause your superuser to not be so super anymore, causing confusion. For example, a sysadmin that upgraded from early 6.0 to 6.1 to 6.2 ran into http://projects.theforeman.org/issues/5616. The fix was simple enough, but it would be better if there was some way to alert sysadmins upon upgrade that new roles exist and need to be allocated. Version-Release number of selected component (if applicable): 6.2.8
Could you please better define who is considered admin user who is not 'admin' user? I suppose it's a regular user with some role and without admin checkbox checked. If that's the case, we're working on mechanism for doing so in http://projects.theforeman.org/issues/18001, all roles seeded by default will be locked so we can update their permissions on updates. Ideally admin users who are not 'admin' should be using Manager role that should contain all permissions from all plugins once this is finished. However we don't plan to add new permission to roles created by users, we have no clue to which roles they should be added. Would this address your issue?
I meant that 'admin' user is the user with login name of 'admin', sorry for not being clear. I believe 18001 will address this bug. If a user adds themselves as Manager, it sounds like they will get all the permissions needed in the future.
Ok, thanks. Linking the upstream issue then.
Upstream bug assigned to oprazak@redhat.com
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/18001 has been resolved.
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/RHSA-2018:0336