mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00: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:
@ -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