Bug 1003099

Summary: [RFE] Add ability to automatically assign gear sizes depending on a user's LDAP group
Product: OpenShift Container Platform Reporter: Timothy Williams <tiwillia>
Component: RFEAssignee: jofernan
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 2.2.0CC: bleanhar, charles_sheridan, erich, lmeyer
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
OpenShift Enterprise 1.2 LDAP
Last Closed: 2016-01-27 19:03:47 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:

Description Timothy Williams 2013-08-30 19:04:01 UTC
Description of problem:
Instead of manually using oo-admin-ctl-user --addgearsize for each user, have the ability to assign a gear size to an LDAP group. This way, users will automatically be assigned gear sizes depending on their LDAP credentials.

How reproducible:
Always

Steps to Reproduce:
1. Add a user authenticating with LDAP
2. 
3.

Actual results:
User is assigned Default gear sizes no matter what LDAP group they belong to.

Expected results:
User is assigned gear sizes depending on the LDAP group they belong to.

Comment 2 Luke Meyer 2014-03-24 18:33:53 UTC
Sounds like something the oo-admin-team script could handle in the future. Linking this to the line item at https://trello.com/c/NITewnmp/19-improve-multi-user-collaboration-in-openshift-via-user-groups-and-roles-based-access-controls-team

There is a little more to this than it might seem - when exactly should the permissions be granted? Should the LDAP synchronization overwrite modifications made by the OpenShift admin? If a user is in multiple groups what do they have access to? But by and large, should be able to do what is needed with oo-admin-team options.

Comment 3 Eric Rich 2014-09-04 20:39:48 UTC
Does the following script help solve this issue with oo-admin commands (for setting user gear sizes?)

https://bugzilla.redhat.com/show_bug.cgi?id=1059813#c5