Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flyway migration is not granting DELETE to PUBLIC #101

Closed
duergner opened this issue Sep 25, 2018 · 1 comment · Fixed by #177
Closed

Flyway migration is not granting DELETE to PUBLIC #101

duergner opened this issue Sep 25, 2018 · 1 comment · Fixed by #177
Labels
auto-configuration everything about the auto-configuration features bug persistence everything around DB access

Comments

@duergner
Copy link

https://github.com/zalando-nakadi/nakadi-producer-spring-boot-starter/blob/master/nakadi-producer-spring-boot-starter/src/main/resources/db_nakadiproducer/migrations/V1/V1029384757.1.2__schema_permissions.sql

This will cause errors when the Flyway user is different from the user used for the datasource during normal operation.

@ePaul ePaul added bug auto-configuration everything about the auto-configuration features labels Sep 25, 2018
@ePaul
Copy link
Member

ePaul commented Aug 15, 2023

Thanks for the issue ... somehow this slipped through the radar. I just hit this with a new project of my own.

ePaul added a commit that referenced this issue Aug 15, 2023
Without this, an application user who is not owner of the database/table
(or superuser) can't delete events after sending them out.

Fixes #101.
@ePaul ePaul added the persistence everything around DB access label Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-configuration everything about the auto-configuration features bug persistence everything around DB access
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants