I am having issues dealing with locations/organizations and permissions.

I am currently using foreman 1.13.4.

My test user is not an administrator.
My test user belongs to a single role with "view_locations" as its only 
filter.
The role has all locations and organizations associated to it.
When I create a new location, under "Users", I check the "All Users" 
checkbox. (All of our locations have this as well.)
My test user cannot see this new location (tested via curl 
/api/v2/locations).

It seems the only way I can get this user to view the location is by 
manually adding the user to the location within the user administration 
page. Is this expected? What is the purpose of the "All Users" checkbox, 
then?

Note, this is just a simplified version of my problem - what I'm really 
trying to do is to grant users the ability to create discovery rules (but 
not restrict them by location), but the lack of visibility into locations 
is causing problems.

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to