[pmwiki-users] Fox permissions

Audun Myhra Bergwitz bergwitz at gmail.com
Fri Mar 19 08:04:44 CDT 2010

Hans skrev:
> you also need to set page permissioins, as entries in an array
> $FoxPagePermissions.
> For instance to allow any Fox actions on any pages;
> $FoxPagePermissions['*.*'] = 'all';
> Notice the wildcard pagename.
> Or a far more restrictive example:
> to allow adding content and changes to PTVs to pages in the
> 'Main' group:
> $FoxPagePermissions['Main.*'] = 'add,ptv';
> There is no default group of pages Fox is allowed to post to,
> by default Fox can only post to the current page.
> So it is important that $FoxPagePermissions is set, i.e. it is
> required from the admin to set page permissions explicitely.
> This is a security layer in addition to $FoxAuth, which is a very
> general setting.
Thanks, this cleared things up.

>> (The permissions part of the Fox cookbook could use a cleanup. It
>> doesn't make much sense for me at least).
> Yes, it could do with better explanations. Feel free to change it!
Since I had problems with a very basic setup, I think I'll leave the
cleanup to someone with a better understanding of how it works.


More information about the pmwiki-users mailing list