Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recurse group memberships for group add/delete/sync license command #1487

Open
MRUjstade opened this issue Feb 25, 2022 · 0 comments
Open

Recurse group memberships for group add/delete/sync license command #1487

MRUjstade opened this issue Feb 25, 2022 · 0 comments
Assignees

Comments

@MRUjstade
Copy link

Is your feature request related to a problem? Please describe.
It would be very helpful to be able to use a group of groups when managing licenses. For example, if group allemployees contains groups DepartmentA, DepartmentB, and 20 individual users, right now it is necessary to run 3 commands to add licenses:

gam group allemployees add license x
gam group DepartmentA add license x
gam group DepartmentB add license x

And there is no way to use the sync command in this scenario, because if you "gam group all employees sync license x" then it will remove all the licenses for the subgroup members.

Describe the solution you'd like
When gam prepares the membership list, I would like it to recurse through sub-group memberships and apply the command to all subgroup members.

Describe alternatives you've considered
We have considered scripting a process that flattens the groups in question and creates a temporary group. We have also considered creating ERP integrations that create flat groups in our on-premise environments which would then be synced using GADS, and then could be used for license management.

Additional context
Add any other context or screenshots about the feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants