Added temporary document handling IO-69

This commit is contained in:
Patrick Fic
2021-02-12 11:25:34 -08:00
parent 675c38b19a
commit 77a06014cf
44 changed files with 1018 additions and 30 deletions

View File

@@ -670,6 +670,13 @@ tables:
table:
schema: public
name: csiquestions
- name: documents
using:
foreign_key_constraint_on:
column: bodyshopid
table:
schema: public
name: documents
- name: employees
using:
foreign_key_constraint_on:
@@ -1433,6 +1440,9 @@ tables:
- name: bill
using:
foreign_key_constraint_on: billid
- name: bodyshop
using:
foreign_key_constraint_on: bodyshopid
- name: job
using:
foreign_key_constraint_on: jobid
@@ -1440,8 +1450,17 @@ tables:
- role: user
permission:
check:
job:
bodyshop:
_or:
- job:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
- bodyshop:
associations:
_and:
- user:
@@ -1451,6 +1470,7 @@ tables:
_eq: true
columns:
- billid
- bodyshopid
- created_at
- extension
- id
@@ -1465,6 +1485,7 @@ tables:
permission:
columns:
- billid
- bodyshopid
- created_at
- extension
- id
@@ -1475,8 +1496,17 @@ tables:
- updated_at
- uploaded_by
filter:
job:
bodyshop:
_or:
- job:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
- bodyshop:
associations:
_and:
- user:
@@ -1487,10 +1517,30 @@ tables:
update_permissions:
- role: user
permission:
columns: []
columns:
- extension
- key
- name
- type
- uploaded_by
- created_at
- updated_at
- billid
- bodyshopid
- id
- jobid
filter:
job:
bodyshop:
_or:
- job:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
- bodyshop:
associations:
_and:
- user:
@@ -1503,8 +1553,17 @@ tables:
- role: user
permission:
filter:
job:
bodyshop:
_or:
- job:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
- bodyshop:
associations:
_and:
- user: