Hi,
I think you're using the wrong tool to solve the problem. Auth is just needed 
for authentication: who are you?. The answer to the question if you have 
permission to something is covered in authorization.

Zend_Acl is the thing you need, not two Zend_Auth instances. It's pretty easy 
with two resources (account and admin) and two roles (user and admin, groups 
for the users). Program them static in your plugin and you're future proof for 
further expansion.

Regards, Jurian
-- 
Jurian Sluiman
CTO Soflomo V.O.F.
http://soflomo.com

On Wednesday 09 Jun 2010 06:23:13 shahrzad khorrami wrote:
> wow thanks alot Alekseyyyy I'm going to test... B-) merccccc

Reply via email to