Project

General

Profile

Actions

Bug #22766

closed

puppet classes removed from host

Added by Ivan Necas about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Users, Roles and Permissions
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1551447

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.

Actions #1

Updated by Ivan Necas about 6 years ago

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

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ori Rabin
  • Pull request https://github.com/theforeman/foreman/pull/6364 added
Actions #3

Updated by Tomer Brisker over 5 years ago

  • Fixed in Releases 1.21.0 added
Actions #4

Updated by Ori Rabin over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF