Skip to content

Commit

Permalink
Merge pull request #125 from datadrivers/fix/privilege-application-ac…
Browse files Browse the repository at this point in the history
…tions

fix: correct applicalble actions for application privilege
  • Loading branch information
anmoel authored Aug 15, 2023
2 parents 30d0c08 + 52ec558 commit eafc04a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions nexus3/schema/security/privilege.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@ const (
ActionRun = "RUN"
ActionEdit = "EDIT"

SecurityPrivilegeApplicationActionBrowse SecurityPrivilegeApplicationActions = ActionBrowse
SecurityPrivilegeApplicationActionRead SecurityPrivilegeApplicationActions = ActionRun
SecurityPrivilegeApplicationActionEdit SecurityPrivilegeApplicationActions = ActionEdit
SecurityPrivilegeApplicationActionAdd SecurityPrivilegeApplicationActions = ActionAdd
SecurityPrivilegeApplicationActionCreate SecurityPrivilegeApplicationActions = ActionCreate
SecurityPrivilegeApplicationActionRead SecurityPrivilegeApplicationActions = ActionRead
SecurityPrivilegeApplicationActionUpdate SecurityPrivilegeApplicationActions = ActionUpdate
SecurityPrivilegeApplicationActionDelete SecurityPrivilegeApplicationActions = ActionDelete

SecurityPrivilegeRepositoryAdminBrowse SecurityPrivilegeRepositoryAdminActions = ActionBrowse
Expand Down

0 comments on commit eafc04a

Please sign in to comment.