After successfull login/authentication can i allow/deny some action ?
Is there any allow/deny function with zend authentication ?
Or do i have to allow/deny with only zend acl ?
And how can i create resouce with actions ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Zend_Auth handles authentication, and does not provide any authorization facilities. This is good. Auth will answer the question “is the user authenticated”, via hasIdentity(), or “who is the user” via getIdentity().
It will not answer questions like “is the user allowed to access FooController”, or “is this user allowed to update this particular Widget object”. If you want to do that sort of thing, you use Zend_Acl, or some other authorization scheme.