Skip to content

Commit

Permalink
Add appstore management role template
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnNiang committed Sep 19, 2023
1 parent 1d2a6c3 commit 3ec9c15
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/main/resources/extensions/store-role-template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: v1alpha1
kind: "Role"
metadata:
name: role-template-manage-appstore
labels:
halo.run/role-template: "true"
annotations:
rbac.authorization.halo.run/module: "Appstore Management"
rbac.authorization.halo.run/display-name: "Appstore Management"
rbac.authorization.halo.run/ui-permissions: |
["system:appstore:manage"]
rbac.authorization.halo.run/dependencies: |
[ \"role-template-manage-plugins\", \"role-template-manage-themes\" ]
rules:
- apiGroups: [ "" ]
resources: [ "secret" ]
resourceNames: [ "halo-run-app-store-pat-secret" ]
verbs: [ "create", "update", "get", "delete" ]

0 comments on commit 3ec9c15

Please sign in to comment.