Architecture and example code to achieve dynamic user, group, permissions in AWS Amplify + appsync (reactjs,graphQL)

0

I am new to AWS and currently experimenting with AWS Amplify trying to build a web based project using reactjs which could cover few aws services(dynamoDB, Cognito, appsync using graphQL).

I would like to have user, groups, permissions for the users as shown in the image.

Enter image description here The above screenshot is from a popular opensource EDMS solution for reference.

I specifically want the ability of creating different groups and dynamically assigning users and permissions to the groups through the project UI itself, not through the AWS console.

I am unable to figure out how should I design the schema.graphql which would work for the above requirement. Also not sure if I need to configure any of AWS services differently to make this work.

Thanks!

No hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas