Skip to content

chore: update missing RBAC action descriptions #15389

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

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions coderd/rbac/object_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 13 additions & 13 deletions coderd/rbac/policy/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,10 @@ var RBACPermissions = map[string]PermissionDefinition{
},
"tailnet_coordinator": {
Actions: map[Action]ActionDefinition{
ActionCreate: actDef(""),
ActionRead: actDef(""),
ActionUpdate: actDef(""),
ActionDelete: actDef(""),
ActionCreate: actDef("create a Tailnet coordinator"),
ActionRead: actDef("view info about a Tailnet coordinator"),
ActionUpdate: actDef("update a Tailnet coordinator"),
ActionDelete: actDef("delete a Tailnet coordinator"),
},
},
"assign_role": {
Expand All @@ -241,25 +241,25 @@ var RBACPermissions = map[string]PermissionDefinition{
},
"oauth2_app": {
Actions: map[Action]ActionDefinition{
ActionCreate: actDef("make an OAuth2 app."),
ActionCreate: actDef("make an OAuth2 app"),
ActionRead: actDef("read OAuth2 apps"),
ActionUpdate: actDef("update the properties of the OAuth2 app."),
ActionUpdate: actDef("update the properties of the OAuth2 app"),
ActionDelete: actDef("delete an OAuth2 app"),
},
},
"oauth2_app_secret": {
Actions: map[Action]ActionDefinition{
ActionCreate: actDef(""),
ActionRead: actDef(""),
ActionUpdate: actDef(""),
ActionDelete: actDef(""),
ActionCreate: actDef("create an OAuth2 app secret"),
ActionRead: actDef("read an OAuth2 app secret"),
ActionUpdate: actDef("update an OAuth2 app secret"),
ActionDelete: actDef("delete an OAuth2 app secret"),
},
},
"oauth2_app_code_token": {
Actions: map[Action]ActionDefinition{
ActionCreate: actDef(""),
ActionRead: actDef(""),
ActionDelete: actDef(""),
ActionCreate: actDef("create an OAuth2 app code token"),
ActionRead: actDef("read an OAuth2 app code token"),
ActionDelete: actDef("delete an OAuth2 app code token"),
},
},
"notification_message": {
Expand Down
26 changes: 13 additions & 13 deletions site/src/api/rbacresourcesGenerated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,21 +85,21 @@ export const RBACResourceActions: Partial<
update: "update notification templates",
},
oauth2_app: {
create: "make an OAuth2 app.",
create: "make an OAuth2 app",
delete: "delete an OAuth2 app",
read: "read OAuth2 apps",
update: "update the properties of the OAuth2 app.",
update: "update the properties of the OAuth2 app",
},
oauth2_app_code_token: {
create: "",
delete: "",
read: "",
create: "create an OAuth2 app code token",
delete: "delete an OAuth2 app code token",
read: "read an OAuth2 app code token",
},
oauth2_app_secret: {
create: "",
delete: "",
read: "",
update: "",
create: "create an OAuth2 app secret",
delete: "delete an OAuth2 app secret",
read: "read an OAuth2 app secret",
update: "update an OAuth2 app secret",
},
organization: {
create: "create an organization",
Expand Down Expand Up @@ -134,10 +134,10 @@ export const RBACResourceActions: Partial<
update: "update system resources",
},
tailnet_coordinator: {
create: "",
delete: "",
read: "",
update: "",
create: "create a Tailnet coordinator",
delete: "delete a Tailnet coordinator",
read: "view info about a Tailnet coordinator",
update: "update a Tailnet coordinator",
},
template: {
create: "create a template",
Expand Down
Loading