Skip to content

feat: add custom role creation to cli #13300

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

Closed
wants to merge 4 commits into from
Closed

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented May 16, 2024

Usage

Listing roles

Listing roles has an --output=json to see the granular permissions

$ coder roles show
NAME            DISPLAY NAME    SITE PERMISSIONS  ORG PERMISSIONS  USER PERMISSIONS  ASSIGNABLE  BUILT IN  
auditor         Auditor         8 permissions     0 organizations  8 permissions     true        true      
owner           Owner           33 permissions    0 organizations  33 permissions    true        true      
template-admin  Template Admin  16 permissions    0 organizations  16 permissions    true        true      
user-admin      User Admin      17 permissions    0 organizations  17 permissions    true        true 

You can filter the returned roles, coder roles show owner auditor

Copy link
Member Author

Emyrk commented May 16, 2024

@Emyrk Emyrk force-pushed the stevenmasley/custom_role_api branch from 801e054 to 68807ac Compare May 16, 2024 18:14
@Emyrk Emyrk force-pushed the stevenmasley/custom_role_cli branch from 978a969 to e4dbaff Compare May 16, 2024 18:14
Base automatically changed from stevenmasley/custom_role_api to main May 16, 2024 18:47
first work is to expose which resources map to which actions in
the sdk.
@Emyrk Emyrk force-pushed the stevenmasley/custom_role_cli branch from b22d3fb to d748401 Compare May 16, 2024 18:48
@Emyrk Emyrk force-pushed the stevenmasley/custom_role_cli branch from d748401 to 1ff534f Compare May 16, 2024 18:59
@Emyrk Emyrk closed this May 16, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 16, 2024
@github-actions github-actions bot deleted the stevenmasley/custom_role_cli branch November 17, 2024 00:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant