File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ type Role struct {
20
20
Name string `json:"name"`
21
21
Site []Permission `json:"site"`
22
22
// Org is a map of orgid to permissions. We represent orgid as a string.
23
- // TODO: Maybe switch to uuid, but tokens might need to support a "wildcard" org
24
- // which could be a special uuid (like all 0s?)
25
23
Org map [string ][]Permission `json:"org"`
26
24
User []Permission `json:"user"`
27
25
}
49
47
RoleAuditor = Role {
50
48
Name : "auditor" ,
51
49
Site : permissions (map [Object ][]Action {
52
- // TODO: @emyrk when audit logs are added, add back a read perm
53
50
//ResourceAuditLogs: {ActionRead},
54
51
// Should be able to read user details to associate with logs.
55
52
// Without this the user-id in logs is not very helpful
You can’t perform that action at this time.
0 commit comments