Actions
Bug #19483
closedUser with inherited admin flag cannot see environments outside org/locs during import
Status:
Closed
Priority:
Normal
Assignee:
Category:
Users, Roles and Permissions
Target version:
-
Description
The change in #18995 includes a conditional to User#visible_environments to return envs with no match to associated locations and organizations:
This uses the condition User.current.admin
, but it should use User.current.admin?
, which is the method that returns inherited admin flags. The #admin method is the attribute, so this would only work for admin users with the flag explicitly set.
Updated by Dominic Cleal over 7 years ago
- Related to Bug #18995: Puppet class import removes existing environments when orgs/locations are disabled added
Updated by The Foreman Bot over 7 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4516 added
Updated by Dominic Cleal over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 995e2da70cf8274fd4edbf63f35c21f84c7b9b4a.
Actions