Project

General

Profile

Actions

Bug #6150

open

Users need locations added even if "All users" is ticked

Added by Scott Wade almost 10 years ago. Updated about 4 years ago.

Status:
Ready For Testing
Priority:
Normal
Category:
Organizations and Locations
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I am using locations, but not organizations. I have several locations defined. I have "All users" ticked on the Users sub-tab within each location.

I am using authentication with LDAP backends. For my LDAP sources, I have "Automatically create accounts in Foreman" ticked. My accounts are filtered with an LDAP filter, and automatic account creation works fine. My Anonymous role (which applies to these users) has the "view_locations" permission granted.

However, when a user logs in, they are not able to view any locations under the Administer -> Locations menu. And the "Any Context" menu in the top left does not list any locations in its dropdown.

Using an admin user (or a user who can edit other users), I can add locations manually to a specific user. If this user re-logs in, then they are able to view locations as expected.

It seems like the "All users" being specified on the Users sub-tab of the Location is not taking effect. Or I'm not understanding its intended purpose.

Dominic and I discussed this on IRC some. I can provide any information that might help. This is a new Foreman setup that we're just getting underway.


Related issues 5 (2 open3 closed)

Related to Foreman - Feature #6094: Ability to add usergroups to organizationsNew06/06/2014Actions
Related to Foreman - Tracker #10022: Taxonomies related issuesNew04/05/2015

Actions
Related to Foreman - Feature #16624: Make auth sources taxableClosedDaniel Lobato Garcia09/20/2016Actions
Has duplicate Foreman - Bug #14499: Assigning organization and location by enabling "All Users" checkbox doesn't work as expectedDuplicate04/06/2016Actions
Has duplicate Foreman - Bug #24893: Adding all users to Taxonomy does not workDuplicateActions
Actions

Also available in: Atom PDF