Project

General

Profile

Bug #22766

puppet classes removed from host

Added by Ivan Necas about 1 year ago. Updated 3 months ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Authorization
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
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.

Associated revisions

Revision bc19503c (diff)
Added by Ori Rabin 3 months ago

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

History

#1 Updated by Ivan Necas about 1 year ago

  • Category changed from Inventory to Authorization
  • Subject changed from puppet classes removed from host to puppet classes removed from host

#2 Updated by The Foreman Bot 3 months ago

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

#3 Updated by Tomer Brisker 3 months ago

  • Fixed in Releases 1.21.0 added

#4 Updated by Ori Rabin 3 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF