![]() |
Alexey admin 3/19/2008 |
Gregory, select * from ..._ugmembers where UserName='username'
|
G
|
grh author 3/19/2008 |
Gregory, the specific user rights is a union of rigths of all group the user belongs to. I.e. if the user is a member of groupA and groupB, groupA has List permissions on tableC and groupB has Add then the user would have both List and Add. To obtain a list of groups the user belongs to run the following SQL query: The username of currently logged in user is saved in $_SESSION["UserID"]
|
![]() |
Alexey admin 3/19/2008 |
Gregory, |
G
|
grh author 3/19/2008 |
Gregory, there are 2 special groups on the Permissions page <Guest> and <Default> Guest group represents users not logged in. Check off tables and actions allowed without login there. If the user is not a member of any group it has permissions defined for <Default> group. Is this what you asking for ?
|
G
|
grh author 3/19/2008 |
Yes, thank you.
|
![]() |
Alexey admin 3/20/2008 |
Gregory, |