Thanks Chris, I though exactly the same idea. Retrieve the user from DB
using Auth and in isAuthorized check if he's allowed to run certain
functions. What I would like to know is where can I check if Admin Routing
is being used in that request. I mean, how can I ask Cake if the requested
URL is /a
On Mon, Apr 28, 2008 at 8:58 PM, Nicolás Andrade
<[EMAIL PROTECTED]> wrote:
> Thanks for your time. I will print at least the 3 or 4 first pages of the
> link you've sent to read in the bed, before sleeping.
>
> Any other suggestion??
When I have users that need to have different levels of access
Common sense?
Cheers,
mbavio
On Apr 28, 9:58 pm, "Nicolás Andrade"
<[EMAIL PROTECTED]> wrote:
> Thanks for your time. I will print at least the 3 or 4 first pages of the
> link you've sent to read in the bed, before sleeping.
>
> Any other suggestion??
>
> Greets!
>
> Nicolás Andrade
> (Wikipedi
Thanks for your time. I will print at least the 3 or 4 first pages of the
link you've sent to read in the bed, before sleeping.
Any other suggestion??
Greets!
Nicolás Andrade
(Wikipedia Reader)
On Mon, Apr 28, 2008 at 7:51 PM, Marcin Domanski <[EMAIL PROTECTED]> wrote:
> Ok
> You _don't_ need
Ok
You _don't_ need 2 models for different users , will you make a third
one for moderators ? 4th for editors ? 5th...
Why not make a user table with an 'is_admin' bool field and check on
that ? Or even more generic - a 'role' field.
Try to read some more on database design (you can start at wikipe
Problem: Using different tables for Auth Components (Users and Admins
Tables)
I was thinking...
If I browse to /admin/users/ I will be asked for an admin login; and the
login will be checked with the admin table.
If I browse to /users/editProfile/ I well be asked for an user login; and
the lo
Hi to all; as a few days ago was suggested in this list; I started using
AUTH component and Admin Routing to validate Administrators.
Now, I've 2 "Users" models; (Front End) Users and Admins.
Each Admin function has Admin_ on it's name. Ok.
In the Users controller appears the problem.
The Adm