Skip to content

Commit

Permalink
fix: revise anonymous permissions for contest_team_code (#171)
Browse files Browse the repository at this point in the history
* revise contest_player permissions

* revise anonymous
youyc22 authored May 4, 2024
1 parent abe037b commit 87e3789
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions metadata/tables.yaml
Original file line number Diff line number Diff line change
@@ -1762,6 +1762,27 @@
- language
- team_id
select_permissions:
- role: anonymous
permission:
columns:
- code_name
- compile_status
- language
- created_at
- code_id
- team_id
filter:
_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: counselor
permission:
columns:

0 comments on commit 87e3789

Please sign in to comment.