[pmwiki-users] Posting Permission Patterns
Patrick R. Michaud
pmichaud at pobox.com
Fri May 4 14:08:04 CDT 2007
On Fri, May 04, 2007 at 07:50:14PM +0100, Hans wrote:
> Friday, May 4, 2007, 7:12:37 PM, The Editor wrote:
> > Also, another question about your proposed plan. You will require Fox
> > admins to set these patterns in a config file for each form that needs
> > a different set of patterns? That's a lot of config editing isn't it?
>
> I have not thought about that each form needs different permission
> patterns. So far I am only using general patterns for all Fox forms to
> obey.
For the approach I'm using, the admin (or recipe) defines not
only pattern pages, but also the forms and other requirements
before posting.
Effectively, the page-pattern array will say "if a page name fits
this pattern, then *this* is the string check pattern to assume
is on that page."
So, if I were using Fox's markup, it would have entries like:
'Site.*' => '', # disallow updates to Site.*
'PmWiki.*' => '', # disallow updates to PmWiki.*
'*-Talk' => ':foxappend', # we can append to *-Talk
'/PITS.\\d+/' => ":fox 'formname'" # we can update PITS.\\d with formname
Pm
More information about the pmwiki-users
mailing list