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

Role Templates should have defaults #912

Closed
russjones opened this issue Apr 8, 2017 · 0 comments
Closed

Role Templates should have defaults #912

russjones opened this issue Apr 8, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@russjones
Copy link
Contributor

russjones commented Apr 8, 2017

Problem

At the moment, role templates don't have defaults. That means you have to explicitly define resources, namespaces, node labels and the session TTL in the template. This creates a bad UX and potentially security issues because it leads to thing like:

resources:
   "*": ["read", "write"]

Potential Solution

Role templates should use default values like local users do: https://github.com/gravitational/teleport/blob/master/lib/services/role.go#L43-L66

@russjones russjones self-assigned this Apr 8, 2017
@russjones russjones added this to the 2.1 milestone Apr 8, 2017
@russjones russjones added the bug label Apr 8, 2017
hatched pushed a commit to hatched/teleport-merge that referenced this issue Nov 30, 2022
- remove teleport db start instructions
hatched pushed a commit that referenced this issue Dec 20, 2022
- remove teleport db start instructions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant