chore: replace todos with issues (#1066)

This commit is contained in:
G r e y
2022-04-19 12:16:57 -04:00
committed by GitHub
parent 04985a1754
commit 5ce06769cd
10 changed files with 15 additions and 26 deletions

View File

@ -20,8 +20,6 @@ type Role struct {
Name string `json:"name"`
Site []Permission `json:"site"`
// Org is a map of orgid to permissions. We represent orgid as a string.
// TODO: Maybe switch to uuid, but tokens might need to support a "wildcard" org
// which could be a special uuid (like all 0s?)
Org map[string][]Permission `json:"org"`
User []Permission `json:"user"`
}
@ -49,7 +47,6 @@ var (
RoleAuditor = Role{
Name: "auditor",
Site: permissions(map[Object][]Action{
// TODO: @emyrk when audit logs are added, add back a read perm
//ResourceAuditLogs: {ActionRead},
// Should be able to read user details to associate with logs.
// Without this the user-id in logs is not very helpful