-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Expanded Role format #1092
Comments
@russjones don't forget to update version of the resource to v3 then |
After the discussion yesterday, under the new proposed Role format the allow:
logins: ["dev", "ops"]
namespaces: ["foo", "bar"]
node_labels:
env: "staging"
rules:
- resources: ["sessions"]
verbs: ["read"]
- resources: ["configuration"]
verbs: ["read", "write"]
- resources: ["trusted_clusters"]
verbs: ["read", "write"]
resources:
tunnel: ["read", "write"]
node: ["read"] The I do think we need to rename resources under rules to avoid confusion. Some candidates: articles, elements, components. |
@russjones @kontsevoy to make it clear, |
@klizhentas @kontsevoy Another item it's worth getting clarity on, at the moment in https://github.com/gravitational/teleport/blob/095e270b7020004bb467e8114bd183b90a6ee616/lib/services/role.go#L1004-L1016 |
@russjones correct: a single |
Implemented in #1092 |
Role 3.0 Spec
Notes:
Implementation Notes
The text was updated successfully, but these errors were encountered: