Bug #30381
openNon-admin user unable to create location with required permission.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1694199
Description of problem:
Non-admin users unable to create nested location, though they have required permission.
How reproducible:
100%
Steps to Reproduce:
1. Create a location A with admin user
2. Create a user U1 and associate with location A
3. Create a role with create, edit, assign, destroy location & Organization and assign that role to user U1
4. Associate the role with location A
5. Now login with user U1 and try to create a location with parent location A.
Actual results:
It gives below error.
Unable to save
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:
Should be able to create location.
No data to display