From 2be286f5bab4c4ae216fa7b7196c02c01a91cd64 Mon Sep 17 00:00:00 2001 From: FranGuam Date: Tue, 2 Apr 2024 14:37:14 +0800 Subject: [PATCH] fix(contest): update permission for `team_switch` --- metadata/tables.yaml | 117 +++++++++++++++++++++++-------------------- 1 file changed, 63 insertions(+), 54 deletions(-) diff --git a/metadata/tables.yaml b/metadata/tables.yaml index 0c403ec..34c90b5 100644 --- a/metadata/tables.yaml +++ b/metadata/tables.yaml @@ -137,85 +137,90 @@ columns: - arena_switch - code_upload_switch - - playback_switch - - playground_switch - - stream_switch - contest_name - contest_type - description - - name - - status - end_date - - start_date - id + - name + - playback_switch + - playground_switch + - start_date + - status + - stream_switch + - team_switch 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 - - start_date - id + - name + - playback_switch + - playground_switch + - start_date + - status + - stream_switch + - team_switch 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 + - name + - playback_switch + - playground_switch + - start_date + - status + - stream_switch + - team_switch 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 + - name + - playback_switch + - playground_switch + - start_date + - status + - stream_switch + - team_switch 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 + - name + - playback_switch + - playground_switch + - start_date + - status + - stream_switch + - team_switch filter: {} update_permissions: - role: counselor @@ -223,17 +228,18 @@ columns: - arena_switch - code_upload_switch - - playback_switch - - playground_switch - - stream_switch - contest_name - contest_type - description - - name - - status - end_date - - start_date - id + - name + - playback_switch + - playground_switch + - start_date + - status + - stream_switch + - team_switch filter: contest_managers: user_uuid: @@ -244,17 +250,18 @@ columns: - arena_switch - code_upload_switch - - playback_switch - - playground_switch - - stream_switch - contest_name - contest_type - description - - name - - status - end_date - - start_date - id + - name + - playback_switch + - playground_switch + - start_date + - status + - stream_switch + - team_switch filter: contest_managers: user_uuid: @@ -265,17 +272,18 @@ columns: - arena_switch - code_upload_switch - - playback_switch - - playground_switch - - stream_switch - contest_name - contest_type - description - - name - - status - end_date - - start_date - id + - name + - playback_switch + - playground_switch + - start_date + - status + - stream_switch + - team_switch filter: contest_managers: user_uuid: @@ -286,17 +294,18 @@ columns: - arena_switch - code_upload_switch - - playback_switch - - playground_switch - - stream_switch - contest_name - contest_type - description - - name - - status - end_date - - start_date - id + - name + - playback_switch + - playground_switch + - start_date + - status + - stream_switch + - team_switch filter: contest_managers: user_uuid: