# Raises an error if authorization group is missing name
! exec karma --check-config
! stdout .
cmp stderr stderr.txt

-- stderr.txt --
level=ERROR msg="Execution failed" error="'name' is required for every authorization group"
-- karma.yaml --
authentication:
  header:
    name: "X-User"
    value_re: "(.+)"
authorization:
  groups:
    - name: admins
      members:
        - alice
        - bob
    - members:
        - john
alertmanager:
  servers:
    - name: default
      uri: https://127.0.0.1:9093
