Reputation: 15599
I am looking for role based access and work flow engine that allows for simple configuration.
Upvotes: 2
Views: 9563
Reputation: 83
Tony Marston has one, maybe you could contact him: http://www.tonymarston.net/php-mysql/workflow.html
Upvotes: 0
Reputation: 4078
I would recommend ezComponents workflow. We built an intranet application using it and it was quite easy to use. The documentation is awesome and it has very active community.
Update: ezComponents now lives on as Zeta Components
Upvotes: 2
Reputation: 6273
i use the Zend Framework, so i guess to create auth/roles/resources/acl, i will use the respective classes
to determine if a user (role) is allowed access to a resource, do something like
// setup variables $acl = new Zend_Acl(); $adminRole = new Zend_Acl_Role("admin"); $adminResource = new Zend_Acl_Resource("adminResource"); // add roles, resources to acl $acl->addRole($adminRole); $acl->addResource($adminResource); // add rules $acl->allow($adminRole, $adminResource); // query acl echo $acl->isAllowed($adminRole, $adminResource) ? "allowed" : "denied"; // allowed
something like above
Upvotes: 3
Reputation: 7956
PHP acl worked really well for me. several open source projects are using it like joomla, in the other hand cakephp take the code model to make it own acl system
Upvotes: 0
Reputation: 2837
Do you mean a php framework that'll make roles easy ? I'd suggest Symfony. A sample security.yml file looks like
all:
is_secure: on
credentials: Admin
The security files also cascade, so you can put this on the highest level (App level) and override it on a module or page level.
Or am I totally off ?
Upvotes: 1