Changed permissions for viewing users IO-421

This commit is contained in:
Patrick Fic
2020-12-23 15:25:14 -08:00
parent 282aba2cd1
commit d1766c268d
4 changed files with 65 additions and 8 deletions

View File

@@ -0,0 +1,25 @@
- args:
role: user
table:
name: users
schema: public
type: drop_select_permission
- args:
permission:
allow_aggregations: false
columns:
- authid
- created_at
- dashboardlayout
- email
- fcmtokens
- updated_at
computed_fields: []
filter:
authid:
_eq: X-Hasura-User-Id
role: user
table:
name: users
schema: public
type: create_select_permission

View File

@@ -0,0 +1,28 @@
- args:
role: user
table:
name: users
schema: public
type: drop_select_permission
- args:
permission:
allow_aggregations: false
columns:
- authid
- created_at
- dashboardlayout
- email
- fcmtokens
- updated_at
computed_fields: []
filter:
associations:
bodyshop:
associations:
active:
_eq: true
role: user
table:
name: users
schema: public
type: create_select_permission

View File

@@ -3874,8 +3874,11 @@ tables:
- fcmtokens
- updated_at
filter:
authid:
_eq: X-Hasura-User-Id
associations:
bodyshop:
associations:
active:
_eq: true
update_permissions:
- role: user
permission: