Re: [HACKERS] current_user versus current_role SOLVED

2005-10-06 Thread Pavel Stehule
Hi, I used info from current_user for log. about some operations (who, when, ..). What I can see, current_user is equal current_role function. I had problem with it, because user (if is member of any group role) can change his identity. example: peter is member of role users. But peter can

[HACKERS] current_user versus current_role

2005-10-05 Thread Pavel Stehule
hello I used info from current_user for log. about some operations (who, when, ..). What I can see, current_user is equal current_role function. I had problem with it, because user (if is member of any group role) can change his identity. example: peter is member of role users. But peter can

Re: [HACKERS] current_user versus current_role

2005-10-05 Thread Alvaro Herrera
On Wed, Oct 05, 2005 at 03:17:25PM +0200, Pavel Stehule wrote: Hi, I used info from current_user for log. about some operations (who, when, ..). What I can see, current_user is equal current_role function. I had problem with it, because user (if is member of any group role) can change his