Re: Definitions
Arnaud Limbourg <arnaud-GdXxm9JVFPlWk0Htik3J/[email protected]> Wed, 28 Dec 2005 07:08:54 +0100
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
michiel nugter wrote: > Hi TaMeR, > > As far as I can see (I'm still finding my way in LiveUser) it basically > comes down to this. > > With the applications and the areas you define your application itself. > When you define a certain right you assign this right to an area. > > For example: If you have a website with news and articles you can define > it as follows: Define your website as the application. Then make two > areas, one for the news-management and one for the article-management. > > In this example you can assign different rights to both areas for > managing the information. When adding a new user/group you can assign > certain rights to this user. There will be times that you want to give a > certain user access to the news section but not to the articles section. > With the different areas this is possible without losing insight in the > defined rights. > > As for user and groups, they basically focus on the user-part of > LiveUser. To clarify: Groups and areas are not directly related to one > another. When assigning rights to a user/group you assign a certain > right that belongs to a certain area. > > > On http://oss.backendmedia.com/LiveUser/ is a diagram that clarifies > this whole story a bit clearer. I do recommend to read this article: > http://www.php-mag.net/magphpde/magphpde_article/psecom,id,595,nodeid,21.html. > It explained a lot to me. > > As for the rights_implied: With LiveUser you can imply a right. For > example: you have two rights: one to read and one to write. You can off > course assign both rights to a user/group. This creates some confusion > and isn't always very logic. With LiveUser you can say if that if a user > has a certain right the user automatically obtains another right. In the > example mentioned you would imply the read right by the write right. You > now only have to assign the write right to a user for him to read and > write. This feature is available in the "Complex" layer as well. There is a different set of features for every layer. Have a look at http://pooteeweet.org/files/phpworks05/LiveUser_tour.pdf Arnaud.