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

Commit

Permalink
fix(permission): update permission for contest
Browse files Browse the repository at this point in the history
  • Loading branch information
FranGuam committed Mar 18, 2024
1 parent 5f5cf2e commit 12632b5
Showing 1 changed file with 108 additions and 12 deletions.
120 changes: 108 additions & 12 deletions metadata/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,69 +110,165 @@
table:
name: contest_team
schema: public
insert_permissions:
- role: counselor
select_permissions:
- role: anonymous
permission:
check: {}
columns:
- arena_switch
- code_upload_switch
- playback_switch
- playground_switch
- stream_switch
- contest_name
- contest_type
- description
- name
- status
- end_date
- id
- start_date
- status
select_permissions:
- id
filter: {}
- role: counselor
permission:
columns:
- arena_switch
- code_upload_switch
- playback_switch
- playground_switch
- stream_switch
- contest_name
- contest_type
- description
- name
- status
- end_date
- id
- start_date
- status
- id
filter: {}
- role: student
permission:
columns:
- arena_switch
- code_upload_switch
- playback_switch
- playground_switch
- stream_switch
- contest_name
- contest_type
- description
- name
- status
- end_date
- start_date
- id
filter: {}
- role: teacher
permission:
columns:
- arena_switch
- code_upload_switch
- playback_switch
- playground_switch
- stream_switch
- contest_name
- contest_type
- description
- name
- status
- end_date
- start_date
- id
filter: {}
- role: user
permission:
columns:
- arena_switch
- code_upload_switch
- playback_switch
- playground_switch
- stream_switch
- contest_name
- contest_type
- description
- name
- status
- end_date
- start_date
- id
filter: {}
update_permissions:
- role: counselor
permission:
columns:
- arena_switch
- code_upload_switch
- playback_switch
- playground_switch
- stream_switch
- contest_name
- contest_type
- description
- name
- status
- end_date
- start_date
- status
- id
filter: {}
check: {}
- role: student
permission:
columns:
- arena_switch
- code_upload_switch
- playback_switch
- playground_switch
- stream_switch
- contest_name
- contest_type
- description
- name
- status
- end_date
- start_date
- id
filter: {}
check: {}
- role: teacher
permission:
columns:
- arena_switch
- code_upload_switch
- playback_switch
- playground_switch
- stream_switch
- contest_name
- contest_type
- description
- name
- status
- end_date
- start_date
- id
filter: {}
check: {}
delete_permissions:
- role: counselor
- role: user
permission:
backend_only: false
columns:
- arena_switch
- code_upload_switch
- playback_switch
- playground_switch
- stream_switch
- contest_name
- contest_type
- description
- name
- status
- end_date
- start_date
- id
filter: {}
check: {}
- table:
name: contest_code
schema: public
Expand Down

0 comments on commit 12632b5

Please sign in to comment.