table:
  schema: public
  name: ranking
select_permissions:
  - role: patient
    permission:
      columns:
        - patient_id
        - measure_type
        - rank_type
        - pos
        - max_pos
        - min_age
        - max_age
      filter:
        patient_id:
          _eq: X-Hasura-User-Id
