Project

General

Profile

Bug #29570

Permission 'create_{organization,location}' has restrictions for org/loc creation

Added by Ondřej Ezr 4 months ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Users, Roles and Permissions
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

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

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.

History

#1 Updated by Ondřej Ezr 4 months ago

  • Triaged changed from No to Yes
  • Category set to Users, Roles and Permissions

Also available in: Atom PDF