def _get_permissions()

in source/lambda/quicksight-custom-resources/util/template.py [0:0]


    def _get_permissions(self):
        # The principal is the owner of the resource and create the resources and is given full actions for the type
        permissions = [
            {
                "Principal": self.principal_arn,
                "Actions": [
                    "quicksight:DescribeTemplate",
                    "quicksight:ListTemplateVersions",
                    "quicksight:UpdateTemplatePermissions",
                    "quicksight:UpdateTemplate",
                    "quicksight:DeleteTemplate",
                    "quicksight:DescribeTemplatePermissions",
                ],
            }
        ]
        return permissions