mirror of
https://github.com/knadh/listmonk.git
synced 2024-11-13 02:55:04 +08:00
Add missing auth permissions file.
This commit is contained in:
parent
cea65c009d
commit
f226acaa23
1 changed files with 31 additions and 0 deletions
31
models/permissions.go
Normal file
31
models/permissions.go
Normal file
|
@ -0,0 +1,31 @@
|
|||
package models
|
||||
|
||||
const (
|
||||
PermListGetAll = "lists:get_all"
|
||||
PermListManageAll = "lists:manage_all"
|
||||
PermListManage = "list:manage"
|
||||
PermListGet = "list:get"
|
||||
PermSubscribersGet = "subscribers:get"
|
||||
PermSubscribersGetAll = "subscribers:get_all"
|
||||
PermSubscribersManage = "subscribers:manage"
|
||||
PermSubscribersImport = "subscribers:import"
|
||||
PermSubscribersSqlQuery = "subscribers:sql_query"
|
||||
PermTxSend = "tx:send"
|
||||
PermCampaignsGet = "campaigns:get"
|
||||
PermCampaignsGetAnalytics = "campaigns:get_analytics"
|
||||
PermCampaignsManage = "campaigns:manage"
|
||||
PermBouncesGet = "bounces:get"
|
||||
PermBouncesManage = "bounces:manage"
|
||||
PermWebhooksPostBounce = "webhooks:post_bounce"
|
||||
PermMediaGet = "media:get"
|
||||
PermMediaManage = "media:manage"
|
||||
PermTemplatesGet = "templates:get"
|
||||
PermTemplatesManage = "templates:manage"
|
||||
PermUsersGet = "users:get"
|
||||
PermUsersManage = "users:manage"
|
||||
PermRolesGet = "roles:get"
|
||||
PermRolesManage = "roles:manage"
|
||||
PermSettingsGet = "settings:get"
|
||||
PermSettingsManage = "settings:manage"
|
||||
PermSettingsMaintain = "settings:maintain"
|
||||
)
|
Loading…
Reference in a new issue