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

Wildcard support for GROUPS_ALLOWLIST #110

Open
Jason-CKY opened this issue Mar 6, 2023 · 0 comments · May be fixed by #111
Open

Wildcard support for GROUPS_ALLOWLIST #110

Jason-CKY opened this issue Mar 6, 2023 · 0 comments · May be fixed by #111
Labels
enhancement New feature or request

Comments

@Jason-CKY
Copy link

Jason-CKY commented Mar 6, 2023

Is this a bug report or feature request?

  • Feature Request

Add wildcard support for GROUPS_ALLOWLIST.

What should the feature do:

For example, abc*,*bcd,*ccc* will match abc-any-character, any-character-bcd and any-character-ccc-any-character respectively

match("*est", "test") == true
match("est*", "establish") == true
match("*est*", "bestablish") == true
match("t*e*s*t", "ttttteeeeeeeesttttttt")) == true
match("t*e*s*t", "tset") == false
match("test", "testing") == false
match("test*", "1testing") == false

What is use case behind this feature:

To manage common sub-groups authorization rules instead of having very verbose GROUPS_ALLOWLIST

Additional Information:

@Jason-CKY Jason-CKY added the enhancement New feature or request label Mar 6, 2023
@Jason-CKY Jason-CKY linked a pull request Mar 6, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant