File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ type Permission struct {
50
50
Action RBACAction `json:"action"`
51
51
}
52
52
53
- // Role is a longer form of SlimRole used to edit custom roles .
53
+ // Role is a longer form of SlimRole that includes permissions details .
54
54
type Role struct {
55
55
Name string `json:"name" table:"name,default_sort" validate:"username"`
56
56
OrganizationID string `json:"organization_id,omitempty" table:"organization_id" format:"uuid"`
@@ -61,7 +61,7 @@ type Role struct {
61
61
UserPermissions []Permission `json:"user_permissions" table:"user_permissions"`
62
62
}
63
63
64
- // Role is a longer form of SlimRole used to edit custom roles.
64
+ // PatchRoleRequest is used to edit custom roles.
65
65
type PatchRoleRequest struct {
66
66
Name string `json:"name" table:"name,default_sort" validate:"username"`
67
67
DisplayName string `json:"display_name" table:"display_name"`
You can’t perform that action at this time.
0 commit comments