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):
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
You don't have permission create_locations with attributes that you have specified or you don't have access to specified locations or organizations
Organization should be created OR the error message should be more specific, for the user to know what to do.
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.
Created redmine issue https://projects.theforeman.org/issues/29570 from this bug