Skip to content
Snippets Groups Projects
Commit 6dc24961 authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

Code cleanup of user name and user id handling in the backend. The current

user is now defined in terms of the user id, the user name is only computed
upon request (for display purposes). This is kind of the opposite of the
previous state, which would maintain the user name and compute the user id
for permission checks.

Besides perhaps saving a few cycles (integer vs string), this now creates a
single point of attack for changing the user id during a connection, for
purposes of "setuid" functions, etc.
parent daf1e3a7
No related branches found
No related tags found
Loading
Showing
with 159 additions and 200 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment