Skip to content

Commit

Permalink
fix: add aggregation permissions for course_comment、course_rating、cou…
Browse files Browse the repository at this point in the history
…rse (eesast#180)

* revise contest_player permissions

* revise anonymous

* add aggregation permissions for ...
  • Loading branch information
youyc22 authored May 26, 2024
1 parent a7fa81d commit 761f41a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions metadata/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2334,6 +2334,7 @@
- type
- uuid
filter: {}
allow_aggregations: true
- role: student
permission:
columns:
Expand All @@ -2347,6 +2348,7 @@
- type
- uuid
filter: {}
allow_aggregations: true
- role: teacher
permission:
columns:
Expand All @@ -2360,6 +2362,7 @@
- type
- uuid
filter: {}
allow_aggregations: true
- table:
name: course_comment
schema: public
Expand Down Expand Up @@ -2434,6 +2437,7 @@
- user_uuid
- uuid
filter: {}
allow_aggregations: true
- role: student
permission:
columns:
Expand All @@ -2444,6 +2448,7 @@
- user_uuid
- uuid
filter: {}
allow_aggregations: true
- role: teacher
permission:
columns:
Expand All @@ -2454,6 +2459,7 @@
- user_uuid
- uuid
filter: {}
allow_aggregations: true
update_permissions:
- role: counselor
permission:
Expand Down Expand Up @@ -2957,6 +2963,7 @@
- course_id
- user_uuid
filter: {}
allow_aggregations: true
- role: student
permission:
columns:
Expand All @@ -2971,6 +2978,7 @@
- course_id
- user_uuid
filter: {}
allow_aggregations: true
- role: teacher
permission:
columns:
Expand All @@ -2985,6 +2993,7 @@
- course_id
- user_uuid
filter: {}
allow_aggregations: true
update_permissions:
- role: counselor
permission:
Expand Down

0 comments on commit 761f41a

Please sign in to comment.