I am looking for advice on how to store custom permissions in AWS Cognito.
If we store users in Cognito and setup for example 2 groups(roles):
adminread-only
And would like to assign some permissions to the group/role:
users/createusers/deleteusers/read
So these are available in the token.
Is it possible to do fine grained authorization like this with Cognito or should this be implemented in another way - for example in a database where we query to get the users permissions without using Cognito for this?
Any help is appreciated?
