We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentd818498 commitde5be5fCopy full SHA for de5be5f
codersdk/roles.go
@@ -50,7 +50,7 @@ type Permission struct {
50
ActionRBACAction`json:"action"`
51
}
52
53
-// Role is a longer form of SlimRoleused to edit custom roles.
+// Role is a longer form of SlimRolethat includes permissions details.
54
typeRolestruct {
55
Namestring`json:"name" table:"name,default_sort" validate:"username"`
56
OrganizationIDstring`json:"organization_id,omitempty" table:"organization_id" format:"uuid"`
@@ -61,7 +61,7 @@ type Role struct {
61
UserPermissions []Permission`json:"user_permissions" table:"user_permissions"`
62
63
64
-//Role is a longer form of SlimRole used to edit custom roles.
+//PatchRoleRequest is used to edit custom roles.
65
typePatchRoleRequeststruct {
66
67
DisplayNamestring`json:"display_name" table:"display_name"`