Building GraphQL APIs with AWS AppSync Sign in
Building GraphQL APIs with AWS AppSync
Sign in
  • Introduction Preview
    • Why AppSync Preview
  • GraphQL basics Preview
    • GraphQL vs REST Preview
    • Schema
    • Queries and Mutations
    • Resolvers
    • Access control
  • AWS AppSync Preview
    • API configuration Preview
      • Authorization providers
      • Logging and monitoring
      • Custom domains
      • WAF Preview
    • Data sources
      • Lambda
      • DynamoDB
      • HTTP
      • RDS
      • None
    • Resolvers
      • Context
      • Pipeline resolvers
    • Real-time data with subscriptions
      • Event fields
      • Event filtering
      • Notify subscription pattern
      • Access control for subscriptions
    • Implementing access control
      • Schema-based access control
      • Resolver-based access control
      • Hierarchical access control example
    • Handling files
      • Downloads
      • Uploads
  • Infrastructure-as-code
    • Terraform
    • CDK
  • Client-side
    • Sending queries and mutations
    • Implementing subscriptions
      • Simple status updates
      • Values over time
      • Updates to a list over time
  • Example application
    • Schema
    • Database
    • API resources
    • Cognito
    • Resolvers
    • Subscriptions
    • Client-side
  • Glossary
  • About the author
  • Changelog
  • Copyright
  • Introduction Preview
    • Why AppSync Preview
  • GraphQL basics Preview
    • GraphQL vs REST Preview
    • Schema
    • Queries and Mutations
    • Resolvers
    • Access control
  • AWS AppSync Preview
    • API configuration Preview
      • Authorization providers
      • Logging and monitoring
      • Custom domains
      • WAF Preview
    • Data sources
      • Lambda
      • DynamoDB
      • HTTP
      • RDS
      • None
    • Resolvers
      • Context
      • Pipeline resolvers
    • Real-time data with subscriptions
      • Event fields
      • Event filtering
      • Notify subscription pattern
      • Access control for subscriptions
    • Implementing access control
      • Schema-based access control
      • Resolver-based access control
      • Hierarchical access control example
    • Handling files
      • Downloads
      • Uploads
  • Infrastructure-as-code
    • Terraform
    • CDK
  • Client-side
    • Sending queries and mutations
    • Implementing subscriptions
      • Simple status updates
      • Values over time
      • Updates to a list over time
  • Example application
    • Schema
    • Database
    • API resources
    • Cognito
    • Resolvers
    • Subscriptions
    • Client-side
  • Glossary
  • About the author
  • Changelog
  • Copyright

Hierarchical access control example Traversing up and down Direct object queries Implementation Query.client Testing Query.project Testing Query.user Testing Query.document Testing Mutation.addDocumentToProject Testing Mutation.addDocumentToUser Testing

Hierarchical access control example

Traversing up and down

Direct object queries

Implementation

Query.client
Testing
Query.project
Testing
Query.user
Testing
Query.document
Testing
Mutation.addDocumentToProject
Testing
Mutation.addDocumentToUser
Testing
This chapter is not included in the preview
  • Sign in with your license key or
  • Buy the book
Previous
< Resolver-based access control
Next
Handling files >
© Tamás Sallai - advancedweb.hu
Hierarchical access control example Traversing up and down Direct object queries Implementation Query.client Testing Query.project Testing Query.user Testing Query.document Testing Mutation.addDocumentToProject Testing Mutation.addDocumentToUser Testing