You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def determine_allowed(self):
[...]
# Look at denied
for stmt in self.stmts:
if stmt['Effect'] == 'Deny':
stmt_actions = self.get_actions_from_statement(stmt)
for action in stmt_actions:
if action in actions:
del actions[action]
Consider the following policy statements, which gives:
Full access (except for CreateBucket) to most buckets
I think there's a bug here:
Consider the following policy statements, which gives:
Expected:
The list of allowed actions should contain everything except s3:CreateBucket.
Actual:
The list of allowed actions is empty.
A naive solution could be to only delete the action key if the resource is * (or maybe something like it... like s3://*).
The text was updated successfully, but these errors were encountered: