IO-924 Rest of phonebook implementation

This commit is contained in:
Patrick Fic
2021-04-23 09:11:48 -07:00
parent 084c7d9c74
commit ddbb1df9d9
18 changed files with 1331 additions and 1 deletions

View File

@@ -0,0 +1,43 @@
- args:
role: user
table:
name: phonebook
schema: public
type: drop_select_permission
- args:
permission:
allow_aggregations: false
columns:
- address1
- address2
- category
- city
- company
- country
- email
- fax
- firstname
- lastname
- phone1
- phone2
- state
- zip
- created_at
- updated_at
- bodyshopid
- id
computed_fields: []
filter:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
role: user
table:
name: phonebook
schema: public
type: create_select_permission

View File

@@ -0,0 +1,43 @@
- args:
role: user
table:
name: phonebook
schema: public
type: drop_select_permission
- args:
permission:
allow_aggregations: true
columns:
- address1
- address2
- category
- city
- company
- country
- email
- fax
- firstname
- lastname
- phone1
- phone2
- state
- zip
- created_at
- updated_at
- bodyshopid
- id
computed_fields: []
filter:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
role: user
table:
name: phonebook
schema: public
type: create_select_permission

View File

@@ -3854,6 +3854,7 @@ tables:
_eq: X-Hasura-User-Id
- active:
_eq: true
allow_aggregations: true
update_permissions:
- role: user
permission: