mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: Implied 'member' roles for site and organization (#1917)
* feat: Member roles are implied and never exlpicitly added * Rename "GetAllUserRoles" to "GetAuthorizationRoles" * feat: Add migration to remove implied roles * rename user auth role middleware
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ type UpdateUserPasswordRequest struct {
|
||||
}
|
||||
|
||||
type UpdateRoles struct {
|
||||
Roles []string `json:"roles" validate:"required"`
|
||||
Roles []string `json:"roles" validate:""`
|
||||
}
|
||||
|
||||
type UserRoles struct {
|
||||
|
||||
Reference in New Issue
Block a user