Fetch jwt token from hasura-auth with refresh_token

This commit is contained in:
Charles Bochet
2023-04-21 14:07:02 +02:00
parent f98f0e942e
commit c5f2850a3b
26 changed files with 212 additions and 61 deletions

View File

@ -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: {}

View File

@ -1,3 +0,0 @@
table:
name: company
schema: public

View File

@ -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

View 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: {}

View File

@ -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"