Dear group,
 After i used ACL plugin by Alaxos (http://www.alaxos.ch/blaxos/pages/
view/plugin_acl) i wanted to have a ACL at each record level. That is,
a user's record need not be shown to the non-Creator. I started to
understand the concept of record level ACL from  this thread.

 http://groups.google.com/group/cake-php/browse_frm/thread/886fe37ecbcd1efc

 After downloading those code from those given links about RMAC i
tried to implement it. But I am stuck. So i started to read that code
(behaviour, [path]/app/plugin/permissionable/models/behaviors) i
understood that its the callback function that does all. Especially
the bit checking in _getPermissionQuery function. But I am still not
clear in implementation(user end). So i studied the Auth and ACL
component in core cake (libs) and i saw the _create,_delete (CRUD)
permission is set in Auth. Then I understood that RMAC implementation
is different from Core ACL which uses aros_acos table. My doubt with
the RMAC plugin is this.. Does every record will have an extra entry
in the permission table? Can anyone give an example of this full
working of the RMAC code, with more than two or three model (tables)
with tree level access (roles) including every entry in the permission
table. Can I able to use both the ACL plugin and RMAC plugin together?

 I am also planing to have own interface for the ACL, both action
level and record level. I am not sure if this will be continued since
i work for a company and they asked so. It could be dropped any time.
A basic layout as follows in a word docs.

https://docs.google.com/document/d/1VGkvtvZk3fuST_pgn1q0sfhtvgka1NCTYX4dIB_b2fA/edit?hl=en_US

This is very basic and it could be non feasible (funny :D).

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to