Skip to content

Commit

Permalink
Add appstore management role template (#28)
Browse files Browse the repository at this point in the history
```release-note
None
```
  • Loading branch information
JohnNiang authored Sep 19, 2023
1 parent 1d2a6c3 commit d45f6a7
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 d45f6a7

Please sign in to comment.