[Phpslash-devel] Notes on users and groups in PSL0.7
Brought to you by:
joestewart,
nhruby
From: Peter C. <li...@kr...> - 2003-02-22 15:28:58
|
Hi Thought it would be worth posting some notes/queries from my experience with using the new users & groups (which I really like, now I'm beginning to get my head round the approach). - As far as I can see, groups can only contain permissions and groups that only contain permissions. ie They are not fully recursive - Why is user 'nobody' given uid of '20'? In several places, the code expects a uid of 'nobody' - Groups 20 (nobody) and 21 (user) are hardcoded. Maybe they should be replaced by constants (eg PSL_AUTHOR_NOBODY, PSL_AUTHOR_USER) or settings in config.ini.php? - is there a note anywhere on what the groups are for? As far as I can work out, the key ones are - root (obviously) - user (required by user-only blocks etc) - or should PublicUserAccount be used? PublicUserAccount contains 'user' and 'nobody' which is confusing. - nobody The module-specific groups seem pretty self-explanatory. - This group seems to be empty or not used: siteeditor I dont think there's any show-stoppers here though. Peter |