Bug #17258
Permissions to assign host to the hosts collection.
Status:
Closed
Priority:
Normal
Assignee:
Category:
Host Collections
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1390919
Description of problem:
Non administrator user can't assign host to host collection with web ui or API call
How reproducible:
Try to assign host to host collection
Steps to Reproduce:
1. Create user with all possible permissions but without administrator flag.
2. Try to assign host to host collection
Actual results:
Host is not assigned with error: {"message":"Access denied","details":"Missing one of the required permissions: "}
Expected results:
Host assigned to host collection
Associated revisions
History
#1
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Brad Buckingham
- Pull request https://github.com/Katello/katello/pull/6444 added
#2
Updated by Brad Buckingham over 5 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|2a41bfa9b47c6e3d95162df1e55e18b4a966e6c8.
#3
Updated by Justin Sherrill over 5 years ago
- Subject changed from Permissions to assign host to the hosts collection. to Permissions to assign host to the hosts collection.
- Legacy Backlogs Release (now unused) set to 197
- Difficulty set to trivial
#4
Updated by The Foreman Bot over 5 years ago
- Pull request https://github.com/Katello/katello/pull/6469 added
fixes #17258 - allow non-admin to change hosts on a collection
This commit will allow a non-admin user to add/remove hosts
to/from a host collection.
The basic permissions needed are:
Host Collections view_host_collections, edit_host_collections
Host view_hosts, edit_hosts
Organization view_organizations