Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jaaydenh merged 1 commit intomainfromjaaydenh/rbac-action-description
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes fromall 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 deletionscoderd/rbac/object_gen.go
View file
Open in desktop

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

26 changes: 13 additions & 13 deletionscoderd/rbac/policy/policy.go
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionssite/src/api/rbacresourcesGenerated.ts
View file
Open in desktop
Original file line numberDiff line numberDiff 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 DownExpand 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

[8]ページ先頭

©2009-2025 Movatter.jp