Bug 1390310 - "Override all parameters" button visible for ALL puppet modules
Summary: "Override all parameters" button visible for ALL puppet modules
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Users & Roles
Version: 6.2.3
Hardware: Unspecified
OS: Unspecified
medium
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Shimon Shtein
URL:
Whiteboard:
Depends On:
Blocks: 1479962
TreeView+ depends on / blocked
 
Reported: 2016-10-31 16:28 UTC by Evgeni Golov
Modified: 2021-03-11 14:46 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:54:17 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Evgeni Golov 2016-10-31 16:28:39 UTC
Description of problem:
When you create a user that can view ALL Puppet modules, but edit only some of them, the "Override all parameters" button (and the "Set parameters to defaults" one if the module already has overrides) are shown for *all* modules, not only the ones the user is allowed to edit.

Version-Release number of selected component (if applicable):
Satellite 6.2.3

How reproducible:
always

Steps to Reproduce:
1. create a user with limited rights
2. grant the user the "view_puppetclasses" permission on all modules, and "edit_puppetclasses" on one specific (e.g. with a "name = foo" search)
3. open https://sat/puppetclasses as that user, see "Override all parameters" for all classes that have parameters.

Actual results:
"override" button present for all modules

Expected results:
"override" button only present for modules the user can edit

Additional info:

Comment 2 orabin 2017-08-01 05:47:16 UTC
Moving to ON_QA because this should also be fixed by the fix for: https://bugzilla.redhat.com/show_bug.cgi?id=1390312.

Comment 6 Satellite Program 2018-02-21 16:54:17 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> 
> For information on the advisory, and where to find the updated files, follow the link below.
> 
> If the solution does not work for you, open a new bug report.
> 
> https://access.redhat.com/errata/RHSA-2018:0336


Note You need to log in before you can comment on or make changes to this bug.