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
Default administrator is not part of PUBLIC role #4044
Comments
Why it should? H2 has an internal role with this name, but you shouldn't ever try to grant it to anyone. H2 actually must reject such grants immediately, but such check is missing, so there is bug. This role also shouldn't appear in lists of roles. |
Hi katzyn, Normally I am able to manage privileges in Base. If SA is not part of PUBLIC role he appears to have no right to assign privileges. |
I can make Base believe that the connected user has all rights. This poses the problem of a less user-friendly interface since it gives the impression that privileges can be modified when they are not (ie: privileges on system tables) |
Hi all,
I use H2 in embedded mode.
I connect to the database with an URL and a property
user
set toSA
.This does indeed create an
SA
administrator when connecting to the database if it does not exist.But this does not add it to the PUBLIC role.
Would it be possible for it to be added to the PUBLIC role when it is created?
Thanks.
The text was updated successfully, but these errors were encountered: