Added new HTML editor with some breaking changes.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
- args:
|
||||
cascade: false
|
||||
read_only: false
|
||||
sql: ALTER TABLE "public"."templates" DROP COLUMN "jsontemplate";
|
||||
type: run_sql
|
||||
@@ -0,0 +1,6 @@
|
||||
- args:
|
||||
cascade: false
|
||||
read_only: false
|
||||
sql: ALTER TABLE "public"."templates" ADD COLUMN "jsontemplate" jsonb NULL DEFAULT
|
||||
jsonb_build_object();
|
||||
type: run_sql
|
||||
@@ -0,0 +1,31 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: templates
|
||||
schema: public
|
||||
type: drop_insert_permission
|
||||
- args:
|
||||
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
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: templates
|
||||
schema: public
|
||||
type: create_insert_permission
|
||||
@@ -0,0 +1,32 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: templates
|
||||
schema: public
|
||||
type: drop_insert_permission
|
||||
- args:
|
||||
permission:
|
||||
check:
|
||||
_or:
|
||||
- bodyshopid:
|
||||
_is_null: true
|
||||
- bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
columns:
|
||||
- bodyshopid
|
||||
- html
|
||||
- jsontemplate
|
||||
- name
|
||||
- query
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: templates
|
||||
schema: public
|
||||
type: create_insert_permission
|
||||
@@ -0,0 +1,35 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: templates
|
||||
schema: public
|
||||
type: drop_select_permission
|
||||
- args:
|
||||
permission:
|
||||
allow_aggregations: false
|
||||
columns:
|
||||
- html
|
||||
- name
|
||||
- query
|
||||
- created_at
|
||||
- updated_at
|
||||
- bodyshopid
|
||||
- id
|
||||
computed_fields: []
|
||||
filter:
|
||||
_or:
|
||||
- bodyshopid:
|
||||
_is_null: true
|
||||
- bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
role: user
|
||||
table:
|
||||
name: templates
|
||||
schema: public
|
||||
type: create_select_permission
|
||||
@@ -0,0 +1,36 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: templates
|
||||
schema: public
|
||||
type: drop_select_permission
|
||||
- args:
|
||||
permission:
|
||||
allow_aggregations: false
|
||||
columns:
|
||||
- bodyshopid
|
||||
- created_at
|
||||
- html
|
||||
- id
|
||||
- jsontemplate
|
||||
- name
|
||||
- query
|
||||
- updated_at
|
||||
computed_fields: []
|
||||
filter:
|
||||
_or:
|
||||
- bodyshopid:
|
||||
_is_null: true
|
||||
- bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
role: user
|
||||
table:
|
||||
name: templates
|
||||
schema: public
|
||||
type: create_select_permission
|
||||
@@ -0,0 +1,34 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: templates
|
||||
schema: public
|
||||
type: drop_update_permission
|
||||
- args:
|
||||
permission:
|
||||
columns:
|
||||
- html
|
||||
- name
|
||||
- query
|
||||
- created_at
|
||||
- updated_at
|
||||
- bodyshopid
|
||||
- id
|
||||
filter:
|
||||
_or:
|
||||
- bodyshopid:
|
||||
_is_null: true
|
||||
- bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: templates
|
||||
schema: public
|
||||
type: create_update_permission
|
||||
@@ -0,0 +1,35 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: templates
|
||||
schema: public
|
||||
type: drop_update_permission
|
||||
- args:
|
||||
permission:
|
||||
columns:
|
||||
- bodyshopid
|
||||
- created_at
|
||||
- html
|
||||
- id
|
||||
- jsontemplate
|
||||
- name
|
||||
- query
|
||||
- updated_at
|
||||
filter:
|
||||
_or:
|
||||
- bodyshopid:
|
||||
_is_null: true
|
||||
- bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: templates
|
||||
schema: public
|
||||
type: create_update_permission
|
||||
@@ -3569,19 +3569,21 @@ tables:
|
||||
columns:
|
||||
- bodyshopid
|
||||
- html
|
||||
- jsontemplate
|
||||
- name
|
||||
- query
|
||||
select_permissions:
|
||||
- role: user
|
||||
permission:
|
||||
columns:
|
||||
- bodyshopid
|
||||
- created_at
|
||||
- html
|
||||
- id
|
||||
- jsontemplate
|
||||
- name
|
||||
- query
|
||||
- created_at
|
||||
- updated_at
|
||||
- bodyshopid
|
||||
- id
|
||||
filter:
|
||||
_or:
|
||||
- bodyshopid:
|
||||
@@ -3598,13 +3600,14 @@ tables:
|
||||
- role: user
|
||||
permission:
|
||||
columns:
|
||||
- bodyshopid
|
||||
- created_at
|
||||
- html
|
||||
- id
|
||||
- jsontemplate
|
||||
- name
|
||||
- query
|
||||
- created_at
|
||||
- updated_at
|
||||
- bodyshopid
|
||||
- id
|
||||
filter:
|
||||
_or:
|
||||
- bodyshopid:
|
||||
|
||||
Reference in New Issue
Block a user