Fetch jwt token from hasura-auth with refresh_token
This commit is contained in:
@ -0,0 +1,14 @@
|
||||
table:
|
||||
name: companies
|
||||
schema: public
|
||||
select_permissions:
|
||||
- role: user
|
||||
permission:
|
||||
columns:
|
||||
- id
|
||||
- workspace_id
|
||||
- company_domain
|
||||
- company_name
|
||||
- created_at
|
||||
- updated_at
|
||||
filter: {}
|
||||
@ -1,3 +0,0 @@
|
||||
table:
|
||||
name: company
|
||||
schema: public
|
||||
@ -1,10 +0,0 @@
|
||||
table:
|
||||
name: person
|
||||
schema: public
|
||||
object_relationships:
|
||||
- name: company
|
||||
using:
|
||||
foreign_key_constraint_on: company_id
|
||||
- name: workspace
|
||||
using:
|
||||
foreign_key_constraint_on: workspace_id
|
||||
25
hasura/metadata/databases/default/tables/public_persons.yaml
Normal file
25
hasura/metadata/databases/default/tables/public_persons.yaml
Normal file
@ -0,0 +1,25 @@
|
||||
table:
|
||||
name: persons
|
||||
schema: public
|
||||
object_relationships:
|
||||
- name: company
|
||||
using:
|
||||
foreign_key_constraint_on: company_id
|
||||
- name: workspace
|
||||
using:
|
||||
foreign_key_constraint_on: workspace_id
|
||||
select_permissions:
|
||||
- role: user
|
||||
permission:
|
||||
columns:
|
||||
- company_id
|
||||
- id
|
||||
- workspace_id
|
||||
- city
|
||||
- email
|
||||
- firstname
|
||||
- lastname
|
||||
- phone
|
||||
- created_at
|
||||
- updated_at
|
||||
filter: {}
|
||||
@ -6,6 +6,6 @@
|
||||
- "!include auth_user_roles.yaml"
|
||||
- "!include auth_user_security_keys.yaml"
|
||||
- "!include auth_users.yaml"
|
||||
- "!include public_company.yaml"
|
||||
- "!include public_person.yaml"
|
||||
- "!include public_companies.yaml"
|
||||
- "!include public_persons.yaml"
|
||||
- "!include public_workspaces.yaml"
|
||||
|
||||
Reference in New Issue
Block a user