[Satellite 6][Bug] ERROR: Access denied (403) while registering host via subscription-manager with non-admin user.
Issue
- Getting 'Access Denied" when trying to register a host via subscription-manager with non-admin user with below roles
----|------------------------|--------|------------|--------|---------------------------------------------------------------------------------
ID | RESOURCE TYPE | SEARCH | UNLIMITED? | ROLE | PERMISSIONS
----|------------------------|--------|------------|--------|---------------------------------------------------------------------------------
153 | (Miscellaneous) | none | yes | SubMan | my_organizations
154 | Environment | none | yes | SubMan | view_environments
155 | Organization | none | yes | SubMan | view_organizations, view_subscriptions, attach_subscriptions, unattach_subscr...
156 | Katello::ContentView | none | yes | SubMan | view_content_views
157 | ConfigGroup | none | yes | SubMan | view_config_groups
158 | Hostgroup | none | yes | SubMan | view_hostgroups
159 | Host | none | yes | SubMan | view_hosts, create_hosts, edit_hosts
160 | Location | none | yes | SubMan | view_locations
162 | Katello::KTEnvironment | none | yes | SubMan | view_lifecycle_environments
363 | SmartProxy | none | yes | SubMan | view_smart_proxies, view_capsule_content
364 | Architecture | none | yes | SubMan | view_architectures
----|------------------------|--------|------------|--------|---------------------------------------------------------------------------------
- Getting the below error using non admin user.
2016-09-26 09:29:23 [katello/cp_proxy] [I] Authorized user satuser(Automated Subscription Manager Registration )
2016-09-26 09:29:23 [katello/cp_proxy] [E] *** ERROR: Access denied (403) ***
2016-09-26 09:29:23 [katello/cp_proxy] [E] REQUEST URL: /rhsm/owners/MyCompany/environments?name=Production%2FComposite_RHEL_6_Repositories
2016-09-26 09:29:23 [katello/cp_proxy] [E] Katello::HttpErrors::Forbidden: Access denied
Environment
- Red Hat Satellite V 6.2.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.