mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
fix: User's should be able to read what roles available (#1575)
This commit is contained in:
@ -66,7 +66,8 @@ var (
|
||||
DisplayName: "Member",
|
||||
Site: permissions(map[Object][]Action{
|
||||
// All users can read all other users and know they exist.
|
||||
ResourceUser: {ActionRead},
|
||||
ResourceUser: {ActionRead},
|
||||
ResourceRoleAssignment: {ActionRead},
|
||||
}),
|
||||
User: permissions(map[Object][]Action{
|
||||
ResourceWildcard: {WildcardSymbol},
|
||||
|
Reference in New Issue
Block a user