Skip to content

Commit

Permalink
Merge pull request #116 from degoldner/bugfix/missing-env-group-permi…
Browse files Browse the repository at this point in the history
…ssions

Add missing permissions for group role
  • Loading branch information
dlpzx authored Aug 24, 2022
2 parents 03df865 + 95a0429 commit 7eabba7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions backend/dataall/cdkproxy/stacks/policies/service_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ def generate_policies(self) -> [aws_iam.ManagedPolicy]:
from .cloudformation import Cloudformation

policies: [aws_iam.ManagedPolicy] = [
# This policy covers the minumum actions required independent
# of the service permissions given to the group.
# The 'glue:GetTable', 'glue:GetPartitions' and
# 'lakeformation:GetDataAccess' actions are additionally
# required for the Worksheet/Athena feature.
aws_iam.ManagedPolicy(
self.stack,
self.id,
Expand All @@ -59,6 +64,9 @@ def generate_policies(self) -> [aws_iam.ManagedPolicy]:
'athena:ListEngineVersions',
'athena:ListDataCatalogs',
'athena:ListWorkGroups',
'glue:GetTable',
'glue:GetPartitions',
'lakeformation:GetDataAccess',
'kms:Decrypt',
'kms:DescribeKey',
'kms:Encrypt',
Expand Down

0 comments on commit 7eabba7

Please sign in to comment.