Hey guys, i just installed othauth, injected the logic in
app_controller, created some users, groups, incremented $gid a bit and
set $strict_gid_check to false in the component configuration (yes i
know this is not a clean method, i will fix this later and pass the
right stuff to the login method)
but now i have 2 questions
1)i can login both as user A, or as user B, but when i'm logged in as A
i can't login as B without logging out first (and vice versa). is this
a bug, or a feature? ;-) any way i can enable "upgrading" accounts
without making dirty hacks in oth's code?
2) say i'm not logged in and request to do a protected method, so i get
the login prompt, and enter the (valid) login information for a user
who's permission level is not sufficient for the action. what happens
now is that i'm redirected back to the login page. anyone knows a nice
method to return to the loginpage, but show also a message "permissions
not sufficient for this user" or something like that?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---