Open barreiro opened 1 week ago
Fixes #1726
Sets the horreum.system role by default on the connection and only set roles when needed.
horreum.system
Also, the roles are set with transaction scope to avoid having to reset them.
This avoid most calls to setRoles for non-authentication usage and reduces to a single call when authenticated, for most cases.
setRoles
Fixes #1726
Sets the
horreum.system
role by default on the connection and only set roles when needed.Also, the roles are set with transaction scope to avoid having to reset them.
This avoid most calls to
setRoles
for non-authentication usage and reduces to a single call when authenticated, for most cases.