Skip to content

Commit

Permalink
[CLOUDTRUST-5583] Add authorizations for mailing service (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
basbeu authored Nov 28, 2024
1 parent 2a747d6 commit 7d4d13d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions security/authorization.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const (
SignatureService
VoucherService
AccreditationService
MailingService
)

// API type
Expand Down Expand Up @@ -275,4 +276,10 @@ var (
ACCRGetAccreditationGroups = Actions.addAction(AccreditationService, ManagementAPI, "ACCR_GetAccreditationGroups", ScopeGroup)
ACCREnableAccreditationForGroup = Actions.addAction(AccreditationService, ManagementAPI, "ACCR_EnableAccreditationForGroup", ScopeGroup)
ACCRDisableAccreditationForGroup = Actions.addAction(AccreditationService, ManagementAPI, "ACCR_DisableAccreditationForGroup", ScopeGroup)

MAILGetActions = Actions.addAction(MailingService, ManagementAPI, "MAIL_GetActions", ScopeGlobal)
MAILGetJobs = Actions.addAction(MailingService, ManagementAPI, "MAIL_GetJobs", ScopeRealm)
MAILSetJobs = Actions.addAction(MailingService, ManagementAPI, "MAIL_SetJobs", ScopeRealm)
MAILGetConfiguration = Actions.addAction(MailingService, ManagementAPI, "MAIL_GetConfiguration", ScopeRealm)
MAILSetConfiguration = Actions.addAction(MailingService, ManagementAPI, "MAIL_SetConfiguration", ScopeRealm)
)

0 comments on commit 7d4d13d

Please sign in to comment.