* janra <janra at paradox.homeip.net> [27 Jan 2005 10:21]: > What about section perms? Would those be per-user changeable, or would > they stay as they are? Could be possible, have another two UserPrefs that let you allow or deny a particular pref for a particular section. ie. deny: "diaries:post,<somesect>:<someperm>" perhaps not those exact delimiters, but that general idea. > Also, $S->have_perm can get either perms for the current user, or for > some specified group. I'd imagine that the check for some specified > group would be the generic one that doesn't check your two proposed > prefs? $S->have_perm would need to be slightly modified to check > whether or not a group ID was passed in, which it currently doesn't do; > if you're checking a specified group and it happens to be the same group > as the current user, you'd get the current user's perms which may not be > what you were intending. I think, in that case have_perm should be changed so if you ask for a group's perms you get the group's perms; if you ask for a user's perms you should get that user's perms. Mike -- Michael Bain | One day I want to look through three hundred mike at mostly-harmless.ca| thousand kilometres of space and say: GPG-ID: 0xA30A5493 | "My isn't there a beautiful Earth out tonight!" -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.kuro5hin.org/pipermail/scoop-dev/attachments/20050129/563bb463/attachment.bin