Bill Lines Aggregate permission.

This commit is contained in:
Patrick Fic
2021-02-22 09:55:00 -08:00
parent cbaa0166a2
commit 05d7ff56e3
3 changed files with 102 additions and 16 deletions

View File

@@ -0,0 +1,39 @@
- args:
role: user
table:
name: billlines
schema: public
type: drop_select_permission
- args:
permission:
allow_aggregations: false
columns:
- actual_cost
- actual_price
- applicable_taxes
- billid
- cost_center
- created_at
- deductedfromlbr
- id
- joblineid
- line_desc
- quantity
- updated_at
computed_fields: []
filter:
bill:
job:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
role: user
table:
name: billlines
schema: public
type: create_select_permission

View File

@@ -0,0 +1,39 @@
- args:
role: user
table:
name: billlines
schema: public
type: drop_select_permission
- args:
permission:
allow_aggregations: true
columns:
- actual_cost
- actual_price
- applicable_taxes
- billid
- cost_center
- created_at
- deductedfromlbr
- id
- joblineid
- line_desc
- quantity
- updated_at
computed_fields: []
filter:
bill:
job:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
role: user
table:
name: billlines
schema: public
type: create_select_permission

View File

@@ -424,6 +424,7 @@ tables:
_eq: X-Hasura-User-Id
- active:
_eq: true
allow_aggregations: true
update_permissions:
- role: user
permission:
@@ -749,6 +750,7 @@ tables:
- logo_img_path
- md_categories
- md_classes
- md_hour_split
- md_ins_cos
- md_labor_rates
- md_messaging_presets
@@ -815,6 +817,7 @@ tables:
- logo_img_path
- md_categories
- md_classes
- md_hour_split
- md_ins_cos
- md_labor_rates
- md_messaging_presets
@@ -2456,6 +2459,7 @@ tables:
- v_model_yr
- v_vin
- vehicleid
- voided
select_permissions:
- role: user
permission:
@@ -2698,6 +2702,7 @@ tables:
- v_model_yr
- v_vin
- vehicleid
- voided
filter:
bodyshop:
associations:
@@ -2950,6 +2955,7 @@ tables:
- v_model_yr
- v_vin
- vehicleid
- voided
filter:
bodyshop:
associations:
@@ -3009,32 +3015,34 @@ tables:
- active:
_eq: true
columns:
- id
- created_at
- updated_at
- msid
- conversationid
- text
- created_at
- id
- image
- image_path
- isoutbound
- status
- msid
- read
- status
- text
- updated_at
- userid
select_permissions:
- role: user
permission:
columns:
- conversationid
- created_at
- id
- image
- isoutbound
- read
- image_path
- isoutbound
- msid
- read
- status
- text
- created_at
- updated_at
- conversationid
- id
- userid
filter:
conversation:
bodyshop:
@@ -3050,17 +3058,17 @@ tables:
- role: user
permission:
columns:
- conversationid
- created_at
- id
- image
- isoutbound
- read
- image_path
- isoutbound
- msid
- read
- status
- text
- created_at
- updated_at
- conversationid
- id
filter:
conversation:
bodyshop: