Re: Definitions
michiel nugter <michiel-7H78rwzWSIOg3/[email protected]> Tue, 27 Dec 2005 20:01:30 +0100
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
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. I hope everything is a bit clearer for you now. Please do check the facts because I'm also fairly new to LiveUser. Regards, Michiel Nugter TaMeR wrote: > > Hello all, > > Seams this list hasn't been active since 2003 but I'll try my luck > anyhow. > > I am new to LiveUser and like to first thank you guys for the great work. > My intention is to create a backend / admin area, which of course I > will make public. > Unless you guys have already done something in this direction??? > > However my question is what the intended use of all the categories > exactly are? They seam to overlap a little as in: > Why do we need area_admin_areas if we already have areas > I guess I don't exactly understand why we need areas at the first > place if we have groups? > > Also what is right_implied for? > > Sorry I am feeling a bit stupid asking these questions but I am not > sure just have an idea and should know for sure before I start coding. > > Below I have included a list of it all, if you could just noted out > for me, thank you > > Dennis Kaplan > > ========== > > liveuser_applications > liveuser_applications_seq > liveuser_area_admin_areas > liveuser_areas > liveuser_areas_seq > liveuser_group_subgroups > liveuser_grouprights > liveuser_groups > liveuser_groups_seq > liveuser_groupusers > liveuser_perm_users > liveuser_perm_users_seq > liveuser_right_implied > liveuser_rights > liveuser_rights_seq > liveuser_translations > liveuser_translations_seq > liveuser_userrights > liveuser_users > liveuser_users_seq > > > > _______________________________________________ > LiveUser mailing list > [email protected] > http://mailman.21st-hq.de/mailman/listinfo/liveuser > >