Skip to content

Commit

Permalink
feat(hasura): added permissions to getRatesStats action (#997)
Browse files Browse the repository at this point in the history
* fix(enviroment): change env value

* fix(hasura): add permissions tables

* fix(comments): fix comments section

* fix(hyperion): fix codefactor issues

* fix(hyperion): fix codefactor issues

* fix(hasura): delete migration restriction

* fix(hyperion): fix updater flows

* feat(hapi): created eosrate stats api endpoint

* fix(hapi): fix codefactor error

* fix(webapp): added validation on bp profile page

* feat(hasura): added permissions to getRatesStats action
  • Loading branch information
AngeloCG97 authored Nov 28, 2022
1 parent da8019b commit dd95888
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ HAPI_HASURA_URL=http://hasura:8080/v1/graphql
HAPI_HASURA_ADMIN_SECRET=myadminsecretkey
# HASURA
HASURA_GRAPHQL_DATABASE_URL=postgres://user:password@eosrate_postgres:5432/eosrate
HASURA_GRAPHQL_ADMIN_SECRET=hasurasecret
HASURA_GRAPHQL_ADMIN_SECRET=myadminsecretkey
HASURA_GRAPHQL_UNAUTHORIZED_ROLE=anonymous
HASURA_GRAPHQL_ACTION_BASE_URL=http://hapi:9090
# WEBAPP
Expand Down
2 changes: 2 additions & 0 deletions hasura/metadata/actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ actions:
kind: synchronous
handler: '{{HASURA_GRAPHQL_ACTION_BASE_URL}}/get-rates-stats'
forward_client_headers: true
permissions:
- role: anonymous
- name: rateProducer
definition:
kind: synchronous
Expand Down

0 comments on commit dd95888

Please sign in to comment.