Re: LiveUser
| From: | Daniel O'Connor | Date: | Mon, 05 Jan 2009 09:18:04 +0000 |
| Subject: | Re: LiveUser | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-29564@lists.php.net to get a copy of this message | ||
Worth reading, also:
http://blog.wolff-hamburg.de/archives/25-A-pragmatic-approach-to-rights-management.html
http://weierophinney.net/matthew/archives/201-Applying-ACLs-to-Models.html
Having used a stupidly complex ACL system in a propriety setting, I would
strongly suggest picking the simplest system possible; and making your
models know about who can access them - ie, no groups, no fancyness, just:
$model->canAccess($security_context, 'App.Privilege.Write'); // returns true
/ false
... and the model knows all about complicated privileges where you can only
write changes if you middle name is smith.