mirror of
https://github.com/coder/coder.git
synced 2025-07-18 14:17:22 +00:00
feat: add notification preferences database & audit support (#14100)
This commit is contained in:
@ -255,4 +255,16 @@ var RBACPermissions = map[string]PermissionDefinition{
|
||||
ActionDelete: actDef(""),
|
||||
},
|
||||
},
|
||||
"notification_template": {
|
||||
Actions: map[Action]ActionDefinition{
|
||||
ActionRead: actDef("read notification templates"),
|
||||
ActionUpdate: actDef("update notification templates"),
|
||||
},
|
||||
},
|
||||
"notification_preference": {
|
||||
Actions: map[Action]ActionDefinition{
|
||||
ActionRead: actDef("read notification preferences"),
|
||||
ActionUpdate: actDef("update notification preferences"),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user