Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
fix(contest): update permission for contest_team_code
Browse files Browse the repository at this point in the history
  • Loading branch information
FranGuam committed Apr 7, 2024
1 parent d15c181 commit 699ac60
Showing 1 changed file with 40 additions and 16 deletions.
56 changes: 40 additions & 16 deletions metadata/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1707,10 +1707,16 @@
- language
- team_id
filter:
contest_team:
contest_team_members:
user_uuid:
_eq: X-Hasura-User-Id
_or:
- contest_team:
contest_team_members:
user_uuid:
_eq: X-Hasura-User-Id
- contest_team:
contest:
contest_managers:
user_uuid:
_eq: X-Hasura-User-Id
allow_aggregations: true
- role: student
permission:
Expand All @@ -1722,10 +1728,16 @@
- language
- team_id
filter:
contest_team:
contest_team_members:
user_uuid:
_eq: X-Hasura-User-Id
_or:
- contest_team:
contest_team_members:
user_uuid:
_eq: X-Hasura-User-Id
- contest_team:
contest:
contest_managers:
user_uuid:
_eq: X-Hasura-User-Id
allow_aggregations: true
- role: teacher
permission:
Expand All @@ -1737,10 +1749,16 @@
- language
- team_id
filter:
contest_team:
contest_team_members:
user_uuid:
_eq: X-Hasura-User-Id
_or:
- contest_team:
contest_team_members:
user_uuid:
_eq: X-Hasura-User-Id
- contest_team:
contest:
contest_managers:
user_uuid:
_eq: X-Hasura-User-Id
allow_aggregations: true
- role: user
permission:
Expand All @@ -1752,10 +1770,16 @@
- language
- team_id
filter:
contest_team:
contest_team_members:
user_uuid:
_eq: X-Hasura-User-Id
_or:
- contest_team:
contest_team_members:
user_uuid:
_eq: X-Hasura-User-Id
- contest_team:
contest:
contest_managers:
user_uuid:
_eq: X-Hasura-User-Id
allow_aggregations: true
update_permissions:
- role: counselor
Expand Down

0 comments on commit 699ac60

Please sign in to comment.