# permissions for end users to view restores.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: restore-viewer-role
rules:
- apiGroups:
  - jenkins.io
  resources:
  - restores
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - jenkins.io
  resources:
  - restores/status
  verbs:
  - get
