Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
lgpo doesn't seem to allow for unsetting a gpo setting #49582
Description of Issue/Question
The gpo setting
The following does work:
I want to remove all users from this list. I've tried the following, but nothing seems to work.
I'm not sure if this needs some documentation on how to do this or if this is a feature request.
Here's my versions report:
If I remember right, cumulative_rights_assignments is set to true by default, so it defaults to adding to what is there (so the state is adding no one to the list when an empty list is passed). To remove all users (i.e. set it to an explicit list), pass cumulative_rights_assignments=False to set it to exactly what you are passing.…
On September 10, 2018 12:54:51 PM CDT, Shane Lee ***@***.***> wrote: Sometimes you can pass `Not Configured` or None. Depending on the policy you're setting. -- You are receiving this because you are on a team that was mentioned. Reply to this email directly or view it on GitHub: #49582 (comment)
to expand on my previous comment, this should work to remove all users:
The cumulative_rights_assignments argument is intended to determine if lgpo will make sure the listed users have the right (True) or that the right matches the list exactly (False).