-
Notifications
You must be signed in to change notification settings - Fork 24
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
Feature Request: Save groups to com.twocanoes.xcreds prefs between runs #117
Comments
can you explain a bit more? do you mean create a group in local OD based on the UUID from the group claim and then add the user to it? |
I want to be able to run `defaults read com.twocanoes.xcreds groups` and get a list of the logged in user’s entra group memberships. I'm not great at following swift code, but it looks like it might be saving a group list to prefs during a login to a "groups" key, but when I tried to retrieve that later, it wasn't found. It was a rushed test, so I may have done something wrong, but if not, a pref to let it keep the groups in prefs after a login would be really helpful.
|
added to local ds of mapped user each time the user logs in. Can get by reading attribute. For example: dscl . -read /Users/brubble _xcreds_oidc_groups |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Optionally saving a user's groups to prefs between runs would allow admins to query group memberships for other uses. In particular, it would allow for easily using group membership as a condition for munki deployments.
The text was updated successfully, but these errors were encountered: