Re: Auth_Groups and Auth_Permissions
| From: | Lukas Smith | Date: | Sun, 15 Aug 2004 20:35:37 +0000 |
| Subject: | Re: Auth_Groups and Auth_Permissions | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-32693@lists.php.net to get a copy of this message | ||
Arnaud Limbourg wrote:
actually even the entire public API is quite small all together. that is why I was saying have you looked at LiveUser.php .. thats the entire public APIThe problem isn't the database schema you use, the problem is the fact it's a huge API which takes a while to get the hang of. Database schemas aren't a problem, since hopefully I don't have to care what schema LiveUser uses to use it.The API isn't that big. I mean the methods you're likely to care about are init() (which does the login so there probably should be a login() method. checkRight() isLoggedIn()
The admin API is another story...yup ... that is quite big, but even there you can take it slow by using the simple container. i am beginning to think that all we have is a documentation problem. maybe if we split the containers off into separate packages this probably might indirectly also be solved. anyways what i was thinking you were aiming for is a package that doesnt have a separation between auth and perm tables. this is what makes liveuser complicated to use at times. regards, Lukas