# permissions for end users to edit backstages.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  labels:
    app.kubernetes.io/name: clusterrole
    app.kubernetes.io/instance: backstage-editor-role
    app.kubernetes.io/component: rbac
    app.kubernetes.io/created-by: backstage-operator
    app.kubernetes.io/part-of: backstage-operator
    app.kubernetes.io/managed-by: kustomize
  name: backstage-editor-role
rules:
- apiGroups:
  - rhdh.redhat.com
  resources:
  - backstages
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - rhdh.redhat.com
  resources:
  - backstages/status
  verbs:
  - get
