Added creation of email based CSI BOD-108

This commit is contained in:
Patrick Fic
2020-05-29 10:59:12 -07:00
parent c1aaf8b284
commit e7da6700b7
15 changed files with 515 additions and 29 deletions

View File

@@ -0,0 +1,35 @@
- args:
role: user
table:
name: csi
schema: public
type: drop_insert_permission
- args:
permission:
check:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
columns:
- bodyshopid
- created_at
- id
- jobid
- relateddata
- updated_at
- valid
- validuntil
localPresets:
- key: ""
value: ""
set: {}
role: user
table:
name: csi
schema: public
type: create_insert_permission

View File

@@ -0,0 +1,36 @@
- args:
role: user
table:
name: csi
schema: public
type: drop_insert_permission
- args:
permission:
check:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
columns:
- bodyshopid
- created_at
- id
- jobid
- questionset
- relateddata
- updated_at
- valid
- validuntil
localPresets:
- key: ""
value: ""
set: {}
role: user
table:
name: csi
schema: public
type: create_insert_permission

View File

@@ -0,0 +1,35 @@
- args:
role: user
table:
name: csi
schema: public
type: drop_update_permission
- args:
permission:
columns:
- valid
- validuntil
- relateddata
- created_at
- updated_at
- bodyshopid
- id
- jobid
filter:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
localPresets:
- key: ""
value: ""
set: {}
role: user
table:
name: csi
schema: public
type: create_update_permission

View File

@@ -0,0 +1,36 @@
- args:
role: user
table:
name: csi
schema: public
type: drop_update_permission
- args:
permission:
columns:
- bodyshopid
- completedon
- created_at
- id
- jobid
- relateddata
- updated_at
- valid
- validuntil
filter:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
localPresets:
- key: ""
value: ""
set: {}
role: user
table:
name: csi
schema: public
type: create_update_permission

View File

@@ -913,6 +913,7 @@ tables:
- created_at
- id
- jobid
- questionset
- relateddata
- updated_at
- valid
@@ -965,14 +966,15 @@ tables:
- role: user
permission:
columns:
- valid
- validuntil
- relateddata
- created_at
- updated_at
- bodyshopid
- completedon
- created_at
- id
- jobid
- relateddata
- updated_at
- valid
- validuntil
filter:
bodyshop:
associations: