Bug 1825698

Summary: Permission 'create_{organization,location}' has restrictions for org/loc creation
Product: Red Hat Satellite Reporter: Ondřej Ezr <oezr>
Component: Users & RolesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Peter Ondrejka <pondrejk>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.6.0CC: mhulan, rcavalca
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-10-28 18:00:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ondřej Ezr 2020-04-20 00:37:34 UTC
Description of problem:
Role with permission 'create_location' or 'create_organization' doesn't allow creation of Org/Loc if it has assigned Orgs or Locs.

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

How reproducible:
Always

Steps to Reproduce:
1. Create role with 'create_location'/'create_organization' perm
2. Assign the role Organization and Location
3. Assign the role to a user
4. Try to create organization

Actual results:
You don't have permission create_locations with attributes that you have specified or you don't have access to specified locations or organizations

Expected results:
Organization should be created OR the error message should be more specific, for the user to know what to do.

Additional info:
This is expected as the role is scoped to given Taxonomy, but the created Loc/Org is not within the assigned Taxonomy.
But as a user, I'd be really confused about this and didn't know what to do.

Comment 3 Ondřej Ezr 2020-04-20 00:39:02 UTC
Created redmine issue https://projects.theforeman.org/issues/29570 from this bug

Comment 6 Brad Buckingham 2022-09-02 20:25:18 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.

Comment 7 Brad Buckingham 2022-09-02 20:31:56 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.

Comment 8 Brad Buckingham 2022-10-28 18:00:09 UTC
Thank you for your interest in Red Hat Satellite. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this feel free to contact your Red Hat Account Team. Thank you.