Added deleting of custom templates for BOD-85.
This commit is contained in:
@@ -2991,6 +2991,26 @@ tables:
|
||||
- name: bodyshop
|
||||
using:
|
||||
foreign_key_constraint_on: bodyshopid
|
||||
insert_permissions:
|
||||
- role: user
|
||||
permission:
|
||||
check:
|
||||
_or:
|
||||
- bodyshopid:
|
||||
_is_null: true
|
||||
- bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
columns:
|
||||
- bodyshopid
|
||||
- html
|
||||
- name
|
||||
- query
|
||||
select_permissions:
|
||||
- role: user
|
||||
permission:
|
||||
@@ -3037,6 +3057,21 @@ tables:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
delete_permissions:
|
||||
- role: user
|
||||
permission:
|
||||
filter:
|
||||
_or:
|
||||
- bodyshopid:
|
||||
_is_null: false
|
||||
- bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
- table:
|
||||
schema: public
|
||||
name: timetickets
|
||||
|
||||
Reference in New Issue
Block a user