ministryofjustice / analytics-platform

Parent repository for the MOJ Analytics Platform
MIT License
14 stars 1 forks source link

'Revoke access' removes from inline policy but 'delete datasource' does not #26

Closed RobinL closed 6 years ago

RobinL commented 6 years ago

When you 'revoke access' to a data source, the inline s3-access policy is correctly modified.

However, when you 'delete datasource' this policy is not modified (i.e. the user retains access to the data source)

I expected to see the contents of the "alpha-everyone" bucket displayed image

andyhd commented 6 years ago

Could you fill in the template, please?

The screenshot says "alpha-testbucket-rl2", but you expect to see "alpha-everyone"?

xoen commented 6 years ago

I'm having a look.

Ticket: https://trello.com/c/f0gPNADq/720-4-when-user-deletes-bucket-directly-polwhen-delete-bucket-on-cp-clean-up-policies

xoen commented 6 years ago

This should now be fixed in both dev and alpha.