[pmwiki-users] Group Member Mgmt System...

The Editor editor at fast.st
Thu May 10 10:16:58 CDT 2007


Just now getting around to developing a more advanced group member
mgmt system and am settling on the following syntax.  Thought I'd run
it by the mailing list for feedback...

in a form

(:input <type> group_chessclub 'Bob,Joe,Mike':) Defines/Overwrites the group
(:input <type> group_chessclub '+Bob,-Joe':) Adds Bob, drops Joe

expression markup

{(grouplist chessclub fmt)} or (:grouplist chessclub fmt)}

conditionals

(:if group_exists chessclub:)
(:if group_member chessclub Caveman:)

Still not sure what kind of permissions should be allowed for this...
As some groups might be private and some public, perhaps they should
each be on separate pages and you go with the read permission of each
page for the grouplist and both conditionals.

Or, as I'd prefer to use one page, I could put a flag on each list to
tell whether it is private or public. Like:

Site.Group_Memberships

chessclub: Bob,Joe,Mike
!privateclub: Bob,Joe

Any thoughts before I get to far would be appreciated.

Cheers,
Dan

PS. I'm also slightly revamping the register / login function to fix
it to automatically fix member names, make case insensitive, etc.
Thanks for the encouragement Ben!



More information about the pmwiki-users mailing list