# permissions for end users to view tasks.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: task-viewer-role
rules:
- apiGroups:
  - formol.desmojim.fr
  resources:
  - tasks
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - formol.desmojim.fr
  resources:
  - tasks/status
  verbs:
  - get
