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

Video permissions for Cognito User Groups #221

Open Niretech opened 3 years ago

Niretech commented 3 years ago

Note: If your question is regarding the AWS Amplify Console service, please log it in the official AWS Amplify Console forum

Which Category is your question related to? Amplify Video Permissions

What AWS Services are you utilizing? Amplify Video

Provide additional details e.g. code snippets I'm looking for a way to define permissions on a per group basis. I have two Cognito user groups: "admins", "editors". I need to allow admins full access to manage video and editors the ability to do the same without delete. At the moment there are only two options for permissions:

  1. What do you consider as "Admins", as this doesn't refer to a group of mine.
  2. How can I provide specific access to my groups?

Note: I can't do this through the console as we have multiple environments. This needs to be automated.

Thanks