Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Use Hasura column presets to populate creator_id #3864

Merged
merged 3 commits into from
Oct 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion hasura.planx.uk/metadata/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,8 @@
- role: api
permission:
check: {}
set:
creator_id: x-hasura-user-id
columns:
- copied_from
- created_at
Expand All @@ -490,6 +492,8 @@
check:
team_id:
_eq: 32
set:
creator_id: x-hasura-user-id
columns:
- copied_from
- created_at
Expand All @@ -506,6 +510,8 @@
- role: platformAdmin
permission:
check: {}
set:
creator_id: x-hasura-user-id
columns:
- copied_from
- created_at
Expand Down Expand Up @@ -537,6 +543,8 @@
_eq: x-hasura-user-id
- role:
_eq: teamEditor
set:
creator_id: x-hasura-user-id
columns:
- copied_from
- created_at
Expand Down Expand Up @@ -1781,7 +1789,7 @@
- created_at
- submitted_at
filter: {}
comment: 'For future, if this moves outside of the Flow to somewhere like Team, we should update "demoUser" to only see submission data related to only their flows. '
comment: "For future, if this moves outside of the Flow to somewhere like Team, we should update 'demoUser' to only see submission data related to only their flows. "
- role: platformAdmin
permission:
columns:
Expand Down
Loading