You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not able to give separate permissions to queries that call lambdas. For example, I have two queries and want to give separate permissions to. Query invokeLambda any logged in user should get access to but access to invokeGetGroups should be access only by Admins group. How can I accomplish this ? Now only Admins group gets access to both queries.
I agree it would be great if @auth could be used with functions in graphql...but you can also just add the logic into the lambda itself until they develop things a bit more...for example: event.identity.claims["cognito:groups"].includes("admin")
Not able to give separate permissions to queries that call lambdas. For example, I have two queries and want to give separate permissions to. Query
invokeLambda
any logged in user should get access to but access toinvokeGetGroups
should be access only by Admins group. How can I accomplish this ? Now onlyAdmins
group gets access to both queries.Amplify CLI version: 6.2.1
The text was updated successfully, but these errors were encountered: