Bug 1358544

Summary: When selecting All users should be default added to ORG and they are external it will fail.
Product: Red Hat Satellite Reporter: Kim Borup <kborup>
Component: Users & RolesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: medium    
Version: 6.2.0CC: bbuckingham, dcaplan, kborup, mhulan
Target Milestone: UnspecifiedKeywords: PrioBumpPM, Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-29 09:37:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kim Borup 2016-07-20 23:48:17 UTC
Description of problem:
When you go under Administer-> organization -> <ORG NAME> -> edit -> users -> Click all users. All internally users are added to the ORG automatically, however if your user is External from IDM it does not get added to the ORG automatically. 

This gives an overhead in management, of external users as you currently dont have any way of assigning users to ORG from IDM directly, nor can you add a org to a group of users when they login the first time. 

 

Version-Release number of selected component (if applicable):

6.2.0 beta 2
How reproducible:
All the time.

Steps to Reproduce:
1. Add IDM to satellite using https://access.redhat.com/documentation/en/red-hat-satellite/version-6.2-beta/server-administration-guide/#sect-Red_Hat_Satellite-Server_Administration_Guide-Configuring_External_Authentication-Using_Identity_Management
2. Administer-> organization -> <ORG NAME> -> edit -> users -> Click all users.
3. Create internal user, login with external user from idm

Actual results:
Internal user gets added to the Org
External user remains without an Org and unable to select one.



Expected results:
External users added to org.

Additional info:

No errors in foreman during this procedure, so i cant add a foreman debug for the problem.

Comment 2 Kim Borup 2016-07-21 01:24:52 UTC
Sorry under 3 it should say Create internal useer , Create user in IDM.

Comment 4 Marek Hulan 2017-03-14 08:20:04 UTC
Is this for IDM configured as auth source or directly? For auth source, it has been solved by BZ 1104822, admin assign organizations on auth source level. For the direct one I think it's covered under BZ 1404906.

Comment 5 Kim Borup 2017-03-29 09:37:01 UTC
IDM Configured both for Auth source and directly, however at the time we created this we could not find a BZ for it, i think it is most likely related to BZ 1404906.

Comment 6 Kim Borup 2017-03-29 09:37:41 UTC

*** This bug has been marked as a duplicate of bug 1404906 ***