Authenticating to different tables

I really like the way acts as authenticated works. Has anyone attempted
to use it with multiple tables for users? Basically, the idea is having
a table for admins, and one for users. Is there another plugin out there
that would be better suited?

Justin M. wrote:

I really like the way acts as authenticated works. Has anyone attempted
to use it with multiple tables for users? Basically, the idea is having
a table for admins, and one for users. Is there another plugin out there
that would be better suited?

To get what you want you should assign “roles” to specific users.

Look into acl_system, you want to add a table “roles” and then
“roles_users” to tie users into the roles you require.

http://www.agilewebdevelopment.com/plugins/acl_system

I use it and love it.

Justin M. wrote:

Shai S. wrote:

Justin M. wrote:

I really like the way acts as authenticated works. Has anyone attempted
to use it with multiple tables for users? Basically, the idea is having
a table for admins, and one for users. Is there another plugin out there
that would be better suited?

To get what you want you should assign “roles” to specific users.

Look into acl_system, you want to add a table “roles” and then
“roles_users” to tie users into the roles you require.

http://www.agilewebdevelopment.com/plugins/acl_system

I use it and love it.

will that let you send them to different areas of the app based on role?
like /user or /admin

I should also add, that this isnt a shared interface. Depending on the
type of user, its going to send them to a different set of controllers
etc.

Shai S. wrote:

Justin M. wrote:

I really like the way acts as authenticated works. Has anyone attempted
to use it with multiple tables for users? Basically, the idea is having
a table for admins, and one for users. Is there another plugin out there
that would be better suited?

To get what you want you should assign “roles” to specific users.

Look into acl_system, you want to add a table “roles” and then
“roles_users” to tie users into the roles you require.

http://www.agilewebdevelopment.com/plugins/acl_system

I use it and love it.

will that let you send them to different areas of the app based on role?
like /user or /admin