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