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

feat(conditional-access): changed this to work with tags as well as group names #200

Conversation

mhintz-clickup
Copy link
Contributor

@mhintz-clickup mhintz-clickup commented Nov 21, 2024

The goal of this is to add the ability to use Tags as well as groups. I know people will customize this but I thought this might give them a better base if they don't have complex use cases.

  1. Changed the code to rely on environment variable instead of hard coded group names.
  2. Added ability to use a tag for auto-approvals.
  3. By default, the tag Auto-Approve is used. This means you don't have to set any environment variables if you don't want.
  4. Added a Readme.

Verified this works in my deployment. Please let me know if a test is required for plugins

@jonathanhle
Copy link
Contributor

Looks fine to me.

Copy link
Collaborator

@somethingnew2-0 somethingnew2-0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense as follow-up to #37, LGTM!

Let me know if you're ready to merge this PR.

@somethingnew2-0
Copy link
Collaborator

Going to merge

@somethingnew2-0 somethingnew2-0 merged commit 59ec88d into discord:main Nov 25, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

3 participants