I am looking for role based access and work flow engine that allows for simple configuration.
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 ?
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.
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
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
I just opened a new open source project for process management in PHP. The project supports PHP based application server and business process management.