Bug #29570
openPermission 'create_{organization,location}' has restrictions for org/loc creation
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.
Updated by Ondřej Ezr about 4 years ago
- Category set to Users, Roles and Permissions
- Triaged changed from No to Yes