Auto user provisioning depends on default rights on PostgreSQL and they can be revoked #52287
Labels
bug
database-access
Database access related issues and PRs
db/postgres
PostgreSQL related database access issues
Hello,
when using nextcloud and PostgreSQL, nextcloud database creation issue this command:
You can find it here.
And actually, it removes those 2 privileges that are implicitely used by Teleport database access controls and auto user provisioning:
You can find the details here from official PostgreSQL doc.
Here the interesting part:
This implies 2 things if the
REVOKE ALL PRIVILEGES ON DATABASE
has been issued:If not, we have the "normal" error:
So maybe, the following GRANT should be added somewhere here or here.
The text was updated successfully, but these errors were encountered: