Bug 1003099 - [RFE] Add ability to automatically assign gear sizes depending on a user's LDAP group
Summary: [RFE] Add ability to automatically assign gear sizes depending on a user's LD...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 2.2.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: jofernan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-30 19:04 UTC by Timothy Williams
Modified: 2018-12-02 15:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
OpenShift Enterprise 1.2 LDAP
Last Closed: 2016-01-27 19:03:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.