On 04/12/2007, Christian Boos <[EMAIL PROTECTED]> wrote:
>
>
> Stephen Moretti wrote:
> > I've been doing some tidying up of the wiki on my works installation of
> Trac
> > and realised that since the last time I updated trac the fine grained
> > permissions have stopped working.
> > ...
> > TypeError: check_permission() takes exactly 4 arguments (5 given)
> >
>
> The IPermissionPolicy interface changed since your last upgrade, and the
> plugins have to be updated as well.
>
> In your case, copy the new samples-plugins/permissions/authz_policy.py
> file to the <env>/plugins folder.
>

~sigh~ that simple...  Thank you Christian.

No more error, but, unfortunately, the wiki pages are still accessible
without the being logged in.

The URL is trac/ENVNAME/wiki/SearchRankRulesDeveloper
I've also got wiki urls like this :
/trac/ENVNAME/wiki/SUBFOLDER/ApplicationLayoutDeveloper

Another entry in the authzpolicy.conf file is :
[wiki:[EMAIL PROTECTED]
@Admin = WIKI_VIEW, WIKI_CREATE, WIKI_MODIFY, WIKI_DELETE
@Developer = WIKI_VIEW, WIKI_CREATE, WIKI_MODIFY
* =

That should be ok, right?

Anyway I can tell if the authz policy is actually being called and if its
matching/missing?

Thanks again

Stephen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to