Re: User seeing their own permission

2004-12-21 Thread Michael Stassen
That syntax only works in 4.1.2 and up, however. Prior versions only take a string for the user, not a function call or variable. In that case, you can find out who you are with SELECT CURRENT_USER(); +-+ | CURRENT_USER() | +-+ | [EMAIL PROTECTED] |

Re: User seeing their own permission

2004-12-21 Thread Gleb Paharenko
Hello. SHOW GRANTS FOR CURRENT_USER(); Law Poop <[EMAIL PROTECTED]> wrote: > Can a user see their own permissions for a database? > > I'm working on a PHP project that will hopefully automagically > generate forms based on a user's permissions. Do I have to create a > seperate account

User seeing their own permission

2004-12-20 Thread Law Poop
Can a user see their own permissions for a database? I'm working on a PHP project that will hopefully automagically generate forms based on a user's permissions. Do I have to create a seperate account to find out what a particular user's permissions are, or is there some way to read permissions wi