Project

General

Profile

Bug #17258

Permissions to assign host to the hosts collection.

Added by Brad Buckingham over 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Host Collections
Target version:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

Revision 2a41bfa9 (diff)
Added by Brad Buckingham over 5 years ago

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

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

#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

Also available in: Atom PDF