Skip to content

Commit

Permalink
Merge branch 'main' into feat/ddn/ddn-run/script-jwt-gen
Browse files Browse the repository at this point in the history
  • Loading branch information
typhonius authored Feb 14, 2025
2 parents b350ce2 + 914ee37 commit ae5bc02
Show file tree
Hide file tree
Showing 9 changed files with 1,158 additions and 285 deletions.
112 changes: 111 additions & 1 deletion .data/common/mongodb/1-init-mongo.js

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions hasura/industry/telco/customer/metadata-domain/ActivateDevice.hml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ definition:
permissions:
- role: admin
allowExecution: true
- role: customer
allowExecution: true
argumentPresets:
- argument: customerId
value:
sessionVariable: x-hasura-user-id
- argument: email
value:
sessionVariable: x-hasura-user-id

---
kind: ObjectType
Expand Down Expand Up @@ -81,3 +90,10 @@ definition:
- deactivationId
- deviceId
- status
- role: customer
output:
allowedFields:
- activationId
- deactivationId
- deviceId
- status
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,12 @@ definition:
permissions:
- role: admin
allowExecution: true

- role: customer
allowExecution: true
argumentPresets:
- argument: customerId
value:
sessionVariable: x-hasura-user-id
- argument: email
value:
sessionVariable: x-hasura-user-id
Loading

0 comments on commit ae5bc02

Please sign in to comment.