Bug #7220
openUser w/ all org permissions cannot see any orgs in UI
Description
After creating the role below, there are no organizations visible in the UI organization page nor in the context selector.
Name,Count,Resource,Search,Permissions,Organizations,Locations SAM Administrator,1,Katello::ActivationKey,"","view_activation_keys,create_activation_keys,edit_activation_keys,destroy_activation_keys",,"" SAM Administrator,1,Katello::System,"","view_content_hosts,create_content_hosts,edit_content_hosts,destroy_content_hosts",,"" SAM Administrator,1,Katello::ContentView,"",view_content_views,,"" SAM Administrator,1,Katello::HostCollection,"","view_host_collections,create_host_collections,edit_host_collections,destroy_host_collections",,"" SAM Administrator,1,Katello::KTEnvironment,"",view_lifecycle_environments,,"" SAM Administrator,1,Katello::Product,"","view_products,sync_products",,"" SAM Administrator,1,Organization,"","view_organizations,create_organizations,edit_organizations,destroy_organizations,assign_organizations,view_subscriptions,attach_subscriptions,unattach_subscriptions,import_manifest,delete_manifest",,"" SAM Administrator,1,Role,"","view_roles,create_roles,edit_roles,destroy_roles",,"" SAM Administrator,1,Filter,"","view_filters,create_filters,edit_filters,destroy_filters",,"" SAM Administrator,1,User,"","view_users,create_users,edit_users,destroy_users",,"" SAM Administrator,1,Usergroup,"","view_usergroups,create_usergroups,edit_usergroups,destroy_usergroups",,""
Files
Updated by Dominic Cleal almost 11 years ago
- Status changed from New to Need more information
Is the user assigned to any organisations? Permissions alone will not assign them to an org.
Updated by Thomas McKay almost 11 years ago
Yes, user is assigned to single org SAM
Updated by Thomas McKay almost 11 years ago
- Status changed from Need more information to New
Updated by Dominic Cleal over 10 years ago
- Status changed from New to Need more information
Can you do some more debugging please? People use the org switcher day in, day out, so it's likely there's a configuration problem with the user unless you can be more specific about the cause.
Check the associated orgs through the console and also try clearing the cache in case you don't have the fix for #6065 or similar.
In particular, set the current context to the user in the console and call Organization.my_organizations
.
Updated by Thomas McKay over 10 years ago
- File Users.png Users.png added
- File Roles.png Roles.png added
- Status changed from Need more information to New
Attached are the screenshots. I'm not sure what permissions are needed in addition to the ones present. When logged in as this user the org list and the context menu orgs are empty.