Questions tagged [zend-acl]

Zend ACL is an Access Control List class in the Zend Framework, an open source, object-oriented web application framework implemented in PHP 5 and licensed under the New BSD License.

Zend_Acl provides a lightweight and flexible access control list (ACL) implementation for privileges management. In general, an application may utilize such ACL's to control access to certain protected objects by other requesting objects.

For the purposes of this documentation:

a resource is an object to which access is controlled.
a role is an object that may request access to a Resource.

Put simply, roles request access to resources. For example, if a parking attendant requests access to a car, then the parking attendant is the requesting role, and the car is the resource, since access to the car may not be granted to everyone.

Through the specification and use of an ACL, an application may control how roles are granted access to resources.

Questions tagged with zend-acl should show they are implementing the Zend_Acl class from the Zend Framework.

To read more visit:
http://framework.zend.com/manual/en/zend.acl.introduction.html

144 questions
0
votes
2 answers

Zend module specific ACL

In my projects there are about 5, 6 modules Ex: Web - Public access, URL - www.abc.com Admin - admin can access - admin.abc.com (Non Acl) CP - Specific group can access - cp.abc.com (Non Acl) pbo - Another group can access - pbo.abc.com (Acl based…
Shaolin
  • 2,541
  • 4
  • 30
  • 41
0
votes
1 answer

I can't get navigation working correctly with Zend_Acl

I don't know what is the problem, but the navigation menu that I'm trying to set up, is not showing up correctly .. All the navigation pages that contains the tag < resource > are not showing up for all type of users type (admin, guest and member ),…
Imad BELHAUSS
  • 71
  • 1
  • 2
  • 10
0
votes
1 answer

Zend_Acl and Zend_Navigation not working with module name as resource

I have setup Zend_Acl to work like this: $acl->addRole(new Zend_Acl_Role('admin')); $acl->addRole(new Zend_Acl_Role('user')); $acl->add(new Zend_Acl_Resource('frontoffice')); $acl->add(new…
rbnvrw
  • 347
  • 3
  • 15
0
votes
5 answers

Difference between Zend_auth & Zend_acl?

I am using Zend Framework for one of my projects and I am very new to Zend Framework. Can you please tell me the difference between Aend_Auth and Zend_Acl?
0
votes
1 answer

double slash in URLs.

Zend Route issue. Normally it works fine. http://www.example.com/course-details/1/Physics-Newtons-Law But if I type in an extra slash in the url, the noauthAction of my Error controller gets called. Example of URL's that are not…
Gublooo
  • 2,550
  • 8
  • 54
  • 91
0
votes
1 answer

Zend_Acl memory failure when checking permission with logical operators

I am trying to implement a customized Acl Assert. if($acl->isAllowed($role,$resource,$privilege.':all')) { return true; } works fine. But if(($acl->isAllowed($role,$resource,$privilege.':all')) ||…
Nandini Bhaduri
  • 1,835
  • 4
  • 18
  • 31
0
votes
1 answer

Access control in zend framework

I have a bugs, actually it is error this is notice but still, I would like to fix it; When I am try to access pages with null role, it is showing this messages: Notice: Trying to get property of non-object in…
Akram
  • 423
  • 2
  • 5
  • 13
0
votes
2 answers

Zend Framework ACL for Admin section of site

Ok so I have my zf application with a user login system that directs the person to a restricted area if the credentials are in the database. However I want the same login form to check if the users role is admin(in the DB) and if it is direct them…
Rik89
  • 157
  • 4
  • 22
-1
votes
1 answer

Only the owner can delete his/her books?

My problem is the other users that do not own the book but they can delete the book if they know the Book ID and it's very easy to get the Book ID.
Vuong Tran
  • 31
  • 1
  • 5
1 2 3
9
10