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

Add example of how to exclude groups in documentation #16

Open
GPAEALandon opened this issue Jul 3, 2024 · 3 comments
Open

Add example of how to exclude groups in documentation #16

GPAEALandon opened this issue Jul 3, 2024 · 3 comments

Comments

@GPAEALandon
Copy link

Could you provide an example of how to exclude a group in assignments?
I have an application I am trying to assign required to All Users, but exclude two other user groups.

@almenscorner
Copy link
Owner

There shouldn't be anything more you have to do then to just add the exclude option to the specified group in the override, like:

<key>exclude</key>
<true/>
<key>assignment_info</key>
<array>
    <dict>
        <key>exclude</key>
        <true/>
        <key>group_id</key>
        <string>xxxx-xxxxx-xxxxx-xxxxxx</string>
        <key>intent</key>
        <string>Required</string>
    </dict>
</array>

@GPAEALandon
Copy link
Author

THANK YOU!
It didn't click that it would be another key. I had tried:
<key>exclude</key> <string>xxxx-xxxxx-xxxxx-xxxxxx</string>
and
<key>intent</key> <string>Exclude</string>

@almenscorner
Copy link
Owner

I'll make sure to get an example listed in the wiki

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