Is this feature request related to a new or existing Amplify category?
api
Is this related to another service?
No response
Describe the feature you'd like to request
When REST apis are configured in a Gen1 app with READ access, the following policies are granted -
These need to be supported in Gen2 by explicitly escape hatching permissions which aren't supported by Gen2 apis.
Describe the solution you'd like
Gen 2 has a action- permission mapping here in its source code: https://github.com/aws-amplify/amplify-backend/blob/11184215e2fe8db636dfb0cc55fefae5b43e3046/packages/backend-auth/src/userpool_access_policy_factory.ts#L115
The missing policies from Gen1 need to be escape hatched in amplify/backend.ts post generate
Describe alternatives you've considered
NA
Additional context
Related PR - #14600
Is this something that you'd be interested in working on?
Would this feature include a breaking change?