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

Admin status does not change after removed from group #145

Closed
davelebbing opened this issue Jan 9, 2024 · 2 comments
Closed

Admin status does not change after removed from group #145

davelebbing opened this issue Jan 9, 2024 · 2 comments

Comments

@davelebbing
Copy link
Collaborator

v4 build 6204

For an Azure user assigned to a group, the CreateAdminIfGroupMember key will give them admin status as intended but when the user is removed from the group in Azure it will not change their admin status after next XCreds sign in or macOS restart.

Related to issue #109, refactored code to add admin to user account based on group membership each login

@twocanoes
Copy link
Owner

this is as expected since removing admin can cause issues and I don't think tracking which users were made admin by xcreds and which admins are valid is a good approach. Closing.

@davelebbing
Copy link
Collaborator Author

Could be good to clarify this in manifest description that admin status is only added but not removed based on group membership.

Current manifest description for CreateAdminIfGroupMember:

List of groups that should have its members created as local administrators. Set as an Array of Strings of the group identifier.

Proposed description change:

List of groups that should have members be given local administrator status. Local administrator status can be given on first authentication when account created, or on later sign in of existing user when a group member. Administrator status not removed if group membership later revoked. Set as an Array of Strings of the group identifier.

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

No branches or pull requests

2 participants