-
Notifications
You must be signed in to change notification settings - Fork 327
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
Feature request: "allow by" for other claims (such as groups) and general RBAC/ACL functionality #175
Comments
You can do advanced whitelisting based on any claim you want using the openresty examples. |
I really don't like the idea of switching my whole ingress controller just to be able to do this. Is there a reasoning why this does not belong to vouch's core functionality? |
Nope, the issue is still open. I think this would be a good feature. @toxuin is this something you are interested in working on? |
It's good to know it's on the roadmap! 👍 |
FYI - wrt configuration parameter naming we would like to use |
I think having more options to verify access directly with VP is a great idea. Implementing an access list like feature might be a very flexible way. Please have a look at the example below. vouch:
access:
- name: groups
action: allow
match: group
- name: username
action: deny
match: "^.*@guest.example.org$"
is_regex: true
- name: username
action: allow
match: "^.*@.*example.org$"
is_regex: true The rules are processed from top to bottom and first match wins. If no rule matches the access is denied. In the future this could also replace the whitelist, teamWhitelist and #251 We could replace this ... whiteList:
- [email protected]
- [email protected]
- [email protected] ... with this ... vouch:
access:
- name: username
action: allow
matches:
- [email protected]
- [email protected]
- [email protected] At the moment I don't know if we should make multiple access lists and use the |
(follow on discussion from #504) @tboerger when I think of this feature it probably...
I'd welcome a PR but I have to warn you that I am horribly behind on integrating PRs on my projects and VP work in general. Please bear with me, this work is on my radar. |
Would be great if one could whitelist users by something other than their username?
The text was updated successfully, but these errors were encountered: