hunk.code_window:     isAllowListEnabled
       liveQueryOpts
       consoleAssetsDir
   isAdminSecretSet :: AuthMode -> Bool
   isAdminSecretSet = \case
     AMNoAuth -> False
     _        -> True
  
hunk.labels: keep keep add keep keep keep keep keep
hunk.after_edit:     experimentalFeatures
  
hunk.file_path: server/src-lib/Hasura/Server/API/Config.hs
hunk.type: add
file: array_relationships:
  - name: messages
    using:
      foreign_key_constraint_on:
        column: chat_id
        table:
          name: message
          schema: public
  - name: users
    using:
      foreign_key_constraint_on:
        column: chat_id
        table:
          name: chat_users
          schema: public
  delete_permissions:
  - permission:
      filter:
        _or:
        - owner_id:
            _eq: X-Hasura-User-Id
        - users:
            user_id:
              _eq: X-Hasura-User-Id
    role: user
  insert_permissions:
  - permission:
      check:
        _or:
        - owner_id:
            _eq: X-Hasura-User-Id
        - users:
            user_id:
              _eq: X-Hasura-User-Id
        - owner_id:
            _is_null: true
      columns:
      - created_at
      - id
      - name
      - owner_id
      - picture
    role: user
  object_relationships:
  - name: owner
    using:
      foreign_key_constraint_on: owner_id
  select_permissions:
  - permission:
      allow_aggregations: true
      columns:
      - created_at
      - id
      - name
      - owner_id
      - picture
      filter:
        _or:
        - owner_id:
            _eq: X-Hasura-User-Id
        - users:
            user_id:
              _eq: X-Hasura-User-Id
    role: user
  table:
    name: chat
    schema: public
  update_permissions:
  - permission:
      check: null
      columns:
      - created_at
      - id
      - name
      - owner_id
      - picture
      filter:
        _or:
        - owner_id:
            _eq: X-Hasura-User-Id
        - users:
            user_id:
              _eq: X-Hasura-User-Id
    role: user
  