as-services/services/hasura/metadata/databases/default/tables/public_relative_allow.yaml
devthejo 16b7e7d6aa
All checks were successful
/ build (map[dockerfile:./services/hasura/Dockerfile name:hasura]) (push) Successful in 47s
/ build (map[dockerfile:./services/web/Dockerfile name:web]) (push) Successful in 1m47s
/ build (map[dockerfile:./services/watchers/Dockerfile name:watchers]) (push) Successful in 2m37s
/ build (map[dockerfile:./services/files/Dockerfile name:files]) (push) Successful in 2m52s
/ build (map[dockerfile:./services/api/Dockerfile name:api]) (push) Successful in 3m2s
/ build (map[dockerfile:./services/app/Dockerfile name:app]) (push) Successful in 31s
/ build (map[dockerfile:./services/tasks/Dockerfile name:tasks]) (push) Successful in 2m44s
/ deploy (push) Successful in 48s
chore(init): available sources
2025-04-13 10:46:53 +02:00

59 lines
1.4 KiB
YAML

table:
name: relative_allow
schema: public
configuration:
column_config:
ask_notification_sent:
custom_name: askNotificationSent
relative_id:
custom_name: relativeId
custom_column_names:
ask_notification_sent: askNotificationSent
relative_id: relativeId
custom_root_fields:
delete: deleteManyRelativeAllow
delete_by_pk: deleteOneRelativeAllow
insert: insertManyRelativeAllow
insert_one: insertOneRelativeAllow
select: selectManyRelativeAllow
select_aggregate: selectAggRelativeAllow
select_by_pk: selectOneRelativeAllow
select_stream: selectStreamRelativeAllow
update: updateManyRelativeAllow
update_by_pk: updateOneRelativeAllow
update_many: updateBatchRelativeAllow
object_relationships:
- name: oneRelative
using:
foreign_key_constraint_on: relative_id
select_permissions:
- role: other
permission:
columns:
- allowed
- id
- relative_id
filter:
oneRelative:
user_id:
_eq: X-Hasura-User-Id
- role: owner
permission:
columns:
- allowed
- id
- relative_id
filter:
oneRelative:
to_user_id:
_eq: X-Hasura-User-Id
update_permissions:
- role: owner
permission:
columns:
- allowed
filter:
oneRelative:
to_user_id:
_eq: X-Hasura-User-Id
check: null