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:
Steven Masley
2022-06-01 09:07:50 -05:00
committed by GitHub
parent 2878346f19
commit cc87a0cf6b
21 changed files with 131 additions and 115 deletions

View File

@ -69,7 +69,7 @@ type UpdateUserPasswordRequest struct {
}
type UpdateRoles struct {
Roles []string `json:"roles" validate:"required"`
Roles []string `json:"roles" validate:""`
}
type UserRoles struct {