Implied permissions
| From: | SLaVKa | Date: | Mon, 10 Apr 2006 00:24:06 +0000 |
| Subject: | Implied permissions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-233642@lists.php.net to get a copy of this message | ||
Hey guys... implementing a permission system and just wanted some advice.
If i have permission A
which has implied permissions B and C
How do the permissions relate to each other, for eg if I select permission A to true, that implies that permission B and C must be set to true, but then if I set B to false or C to false, or both does that affect permission A?
Assuming that B, and C dont have implied rights you should be able to turn both of them off while leaving A on, but then that breaks the rule for A having implied permissions B and C.
Any help appreciated.