IO-948 Vendor add to phonebook

This commit is contained in:
Patrick Fic
2021-04-28 07:37:07 -07:00
parent 2e7ecfebe9
commit f4ec377da4
10 changed files with 295 additions and 3 deletions

View File

@@ -0,0 +1,6 @@
- args:
role: user
table:
name: phonebook
schema: public
type: drop_delete_permission

View File

@@ -0,0 +1,17 @@
- args:
permission:
backend_only: false
filter:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
role: user
table:
name: phonebook
schema: public
type: create_delete_permission

View File

@@ -3886,6 +3886,18 @@ tables:
- active:
_eq: true
check: null
delete_permissions:
- role: user
permission:
filter:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
- table:
schema: public
name: scoreboard