awslabs / amplify-video

An open source Category Plugin for the AWS Amplify-CLI that makes it easy to deploy live and file based streaming video services and integrate them into your Amplify applications.
https://www.npmjs.com/package/amplify-category-video
Apache License 2.0
267 stars 56 forks source link

Allow specified groups only, the ability to upload videos. #207

Open kylekirkby opened 3 years ago

kylekirkby commented 3 years ago

Is your feature request related to a problem? Please describe.

The project I'm working on requires members of certain groups to have the ability to upload videos. Currently, I can see that there is the option of "any" authenticated users or "admin" users. We have "admins" and "editor" groups where both should have the ability to upload but "admins" are super-admins and are basically god.

Describe the solution you'd like It would be great to pull the groups from the auth category and allow users to change which groups can upload to the input bucket.

Describe alternatives you've considered Potentially, migrate "editors" to "admins" and admins to "super_admins" or something similar.

o-gi commented 3 years ago

+1