Re: Setup problems (List alive?)
Groups <[email protected]> Tue, 22 Nov 2005 12:05:05 -0500
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
Hi again, > You can ask questions in #pear on efnet or by email. Though I am a > bit busy tonight. There are others on this list and IRC that may be > able to help as well. Okay I'll start here first. The backend I'm trying to build is rather complex so I decided to use the Complex container to get as much flexibility as I can. That's a lot of questions and maybe you won't have time to answer them all but if you can give me some directions, that will save my day! Let me try to explain what I want to achieve: The backend has the following user categories: (1) Admin: has full access (2) Staff includes (but should be able to add more groups if necessary): - administration department - support department - accounting department Notes: * Each department can have different permissions to the pages Ex. - admin department has access to the customers page + support page - support department only has access to the support page - etc. * Each page has its own permissions (Ex. show/add/edit/delete) (3) Webmaster (4) Webmaster partners: has access to pages the webmaster decided to give access to with own set of perms. Ex. - partner 1: has access to page 1 with show perms only - partner 2: has access to page 1 and 2 with show/add perms only - etc. The frontend has 2 categories: (5) End-User includes (but should be able to add more groups if necessary): - clients (ex. access to client's project page) - members (ex. access to newsletter restricted page) (6) Visitors : is not logged in / has only access to public pages (without any perms) Note * Each page should have a set of permissions for any category Ex. - page 1 is accessible by (1) and (2) - page 2 is accessible by (1) and (3) and (4) - etc. I know all of this is possible but I'm confused with the LiveUser terminology and how to set this up. - How to use 'application'? Is there any predefined functions? - How to use 'seq'? Is there any predefined functions? - How to use 'perm_type'? Is there any predefined functions? - How to use levels? Is there any predefined functions? - How to setup area perms? group perms? - How to setup and how to use owner_user_id and owner_group_id? Thanks again, Vincent