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

Commit

Permalink
Update users table permission
Browse files Browse the repository at this point in the history
  • Loading branch information
FranGuam committed Nov 23, 2023
1 parent 1589a85 commit b970c4c
Showing 1 changed file with 8 additions and 36 deletions.
44 changes: 8 additions & 36 deletions metadata/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2943,6 +2943,7 @@
- department
- email
- github_id
- id
- phone
- realname
- role
Expand All @@ -2951,9 +2952,7 @@
- updated_at
- username
- uuid
filter:
uuid:
_eq: X-Hasura-User-Id
filter: {}
- role: student
permission:
columns:
Expand All @@ -2962,6 +2961,7 @@
- department
- email
- github_id
- id
- phone
- realname
- role
Expand All @@ -2970,9 +2970,7 @@
- updated_at
- username
- uuid
filter:
uuid:
_eq: X-Hasura-User-Id
filter: {}
- role: teacher
permission:
columns:
Expand All @@ -2981,6 +2979,7 @@
- department
- email
- github_id
- id
- phone
- realname
- role
Expand All @@ -2989,9 +2988,7 @@
- updated_at
- username
- uuid
filter:
uuid:
_eq: X-Hasura-User-Id
filter: {}
- role: user
permission:
columns:
Expand All @@ -3000,6 +2997,7 @@
- department
- email
- github_id
- id
- phone
- realname
- role
Expand All @@ -3008,26 +3006,18 @@
- updated_at
- username
- uuid
filter:
uuid:
_eq: X-Hasura-User-Id
filter: {}
update_permissions:
- role: counselor
permission:
columns:
- class
- created_at
- department
- email
- github_id
- phone
- realname
- role
- student_no
- tsinghua_email
- updated_at
- username
- uuid
filter:
uuid:
_eq: X-Hasura-User-Id
Expand All @@ -3036,18 +3026,12 @@
permission:
columns:
- class
- created_at
- department
- email
- github_id
- phone
- realname
- role
- student_no
- tsinghua_email
- updated_at
- username
- uuid
filter:
uuid:
_eq: X-Hasura-User-Id
Expand All @@ -3056,18 +3040,12 @@
permission:
columns:
- class
- created_at
- department
- email
- github_id
- phone
- realname
- role
- student_no
- tsinghua_email
- updated_at
- username
- uuid
filter:
uuid:
_eq: X-Hasura-User-Id
Expand All @@ -3076,18 +3054,12 @@
permission:
columns:
- class
- created_at
- department
- email
- github_id
- phone
- realname
- role
- student_no
- tsinghua_email
- updated_at
- username
- uuid
filter:
uuid:
_eq: X-Hasura-User-Id
Expand Down

0 comments on commit b970c4c

Please sign in to comment.