Skip to content

Commit

Permalink
Merge pull request #158 from FranGuam/dev
Browse files Browse the repository at this point in the history
fix(contest): update permissions for aggregate query
  • Loading branch information
FranGuam authored Mar 30, 2024
2 parents 5c0781e + e0fafca commit a898972
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions metadata/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,7 @@
- map_id
- updated_at
filter: {}
allow_aggregations: true
- role: student
permission:
columns:
Expand All @@ -1030,6 +1031,7 @@
- map_id
- updated_at
filter: {}
allow_aggregations: true
- role: teacher
permission:
columns:
Expand All @@ -1043,6 +1045,7 @@
- map_id
- updated_at
filter: {}
allow_aggregations: true
- role: user
permission:
columns:
Expand All @@ -1056,6 +1059,7 @@
- map_id
- updated_at
filter: {}
allow_aggregations: true
- table:
name: contest_room_team
schema: public
Expand All @@ -1077,6 +1081,7 @@
- player_roles
- player_codes
filter: {}
allow_aggregations: true
- role: student
permission:
columns:
Expand All @@ -1087,6 +1092,7 @@
- player_roles
- player_codes
filter: {}
allow_aggregations: true
- role: teacher
permission:
columns:
Expand All @@ -1097,6 +1103,7 @@
- player_roles
- player_codes
filter: {}
allow_aggregations: true
- role: user
permission:
columns:
Expand All @@ -1107,6 +1114,7 @@
- player_roles
- player_codes
filter: {}
allow_aggregations: true
- table:
name: contest_round
schema: public
Expand Down Expand Up @@ -1421,6 +1429,7 @@
- team_name
- updated_at
filter: {}
allow_aggregations: true
- role: student
permission:
columns:
Expand All @@ -1439,6 +1448,7 @@
- team_name
- updated_at
filter: {}
allow_aggregations: true
- role: teacher
permission:
columns:
Expand All @@ -1457,6 +1467,7 @@
- team_name
- updated_at
filter: {}
allow_aggregations: true
- role: user
permission:
columns:
Expand All @@ -1475,6 +1486,7 @@
- team_name
- updated_at
filter: {}
allow_aggregations: true
update_permissions:
- role: counselor
permission:
Expand Down Expand Up @@ -1672,6 +1684,7 @@
contest_team_members:
user_uuid:
_eq: X-Hasura-User-Id
allow_aggregations: true
- role: student
permission:
columns:
Expand All @@ -1686,6 +1699,7 @@
contest_team_members:
user_uuid:
_eq: X-Hasura-User-Id
allow_aggregations: true
- role: teacher
permission:
columns:
Expand All @@ -1700,6 +1714,7 @@
contest_team_members:
user_uuid:
_eq: X-Hasura-User-Id
allow_aggregations: true
- role: user
permission:
columns:
Expand All @@ -1714,6 +1729,7 @@
contest_team_members:
user_uuid:
_eq: X-Hasura-User-Id
allow_aggregations: true
update_permissions:
- role: counselor
permission:
Expand Down Expand Up @@ -1874,24 +1890,28 @@
- team_id
- user_uuid
filter: {}
allow_aggregations: true
- role: student
permission:
columns:
- team_id
- user_uuid
filter: {}
allow_aggregations: true
- role: teacher
permission:
columns:
- team_id
- user_uuid
filter: {}
allow_aggregations: true
- role: user
permission:
columns:
- team_id
- user_uuid
filter: {}
allow_aggregations: true
update_permissions:
- role: counselor
permission:
Expand Down

0 comments on commit a898972

Please sign in to comment.