Bug #22766

puppet classes removed from host

Added by Ivan Necas over 2 years ago. Updated almost 2 years ago.

Users, Roles and Permissions
Target version:
Bugzilla link:
Fixed in Releases:
Found in Releases:


Cloned from

Description of problem:

Puppet classes are being removed from Hosts when working with non-admin user.

If I submit host information with a non-admin user, `puppet` classes directly assigned to this are removed upon submitting the information.

How reproducible:

- Always

Steps to Reproduce:
1. Select and edit a host
2. Switch to the "puppet classes" tab and add a puppet class from the available classes. -> it's in the "included classes" list.
3. Submit the change and verify, that the class is included
4. use another satellite user with less privileges.
5. Select and edit the same host like in step #1
6. Change nothing... but press "Submit"
7. If you verify the "included" classes" list, the entry from step #2 is vanished.

Actual results:

- `puppet` classes removed from host.

Expected results:

- `puppet` classes should not be removed in such situation.

Associated revisions

Revision bc19503c (diff)
Added by Ori Rabin almost 2 years ago

Fixes #22766 - Puppet classes are not removed by non-admin user


#1 Updated by Ivan Necas over 2 years ago

  • Category changed from Inventory to Users, Roles and Permissions
  • Subject changed from puppet classes removed from host to puppet classes removed from host

#2 Updated by The Foreman Bot almost 2 years ago

  • Assignee set to Ori Rabin
  • Status changed from New to Ready For Testing
  • Pull request added

#3 Updated by Tomer Brisker almost 2 years ago

  • Fixed in Releases 1.21.0 added

#4 Updated by Ori Rabin almost 2 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF