feat: Add permissions for links (#1407)

This commit is contained in:
Bruno Quaresma
2022-05-13 09:25:57 -05:00
committed by GitHub
parent 64a8b4ac47
commit e6168ba238
16 changed files with 192 additions and 47 deletions

View File

@ -17,6 +17,10 @@ var (
Type: "template",
}
ResourceUser = Object{
Type: "user",
}
// ResourceUserRole might be expanded later to allow more granular permissions
// to modifying roles. For now, this covers all possible roles, so having this permission
// allows granting/deleting **ALL** roles.