Owner for password tables #384
Replies: 1 comment 5 replies
-
PostgreSQL 15 changed things so only the repo owner has access to the public schema by default (a good change). Rodauth updated the documentation to reflect the changes needed: https://rodauth.jeremyevans.net/rdoc/files/README_rdoc.html#label-Grant+schema+rights+-28PostgreSQL+15-2B-29 . You mentioned it isn't requiring granting schema rights, so my only guess is you ran both migrations as the If you are having problems, I recommend starting from scratch on a new PostgreSQL database cluster following the documentation, record every command you are running, and if you still have the same result, posting the commands you are running for review. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
In a previous flirtation with Rodauth (postgres 14), the migrations in the readme resulted in the user
app_password
owning all the password-related tables. However, running the migrations now (postgres 16), the migrations result in all tables being owned by theapp
user. The migrations won't run unless theapp_password
role exists, but does not seem to require granting schema rights as per the readme.I have tested account creation and login, and it certainly looks like it's working, but I would like some clarification on the correctness of this setup since it's markedly different from my previous run and appears to be in conflict with the readme.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions