Hi Stephen,

On Dec 6, 10:54 am, "Stephen Moretti" <[EMAIL PROTECTED]>
wrote:
> > No, it should still work as expected. I have tested the following:
>
> I was out of the office yesterday, so didn't get a chance to look at this.
>
> I've updated Trac from trunk (easy_install) and exported a copy from svn as
> well.
> I had actually spend the last 30 minutes messing with the authz_policy
> plugin looking at the debug output before I did this.
>
> I wanted to check that the the plugin from svn was the same as the one I
> had.  It turns out that some one has submitted an update.  In the
> check_permission() function the elif permissions == '': was missing []
> around the quotes eg. permissions == ['']
>
> This little change made all the difference - everything now works as
> expected.

That was http://trac.edgewall.org/changeset/6246, long time ago ;-)
Well, at least a week before you started that thread, so I wrongly
assumed you were already using that when you said it stopped working
after the update.

I somehow fear that the permission policy issues are going to be  a
bit hard to troubleshoot, we'll need to set up some guidelines about
that, like:
 - provide the relevant excerpt from trac.ini: the [trac]
permission_policies setting and the [components] section
 - the authz policy file if the AuthzPolicy is used
 - the output of trac-admin permission list if the
DefaultPermissionProvider is used
 - the relevant excerpt of the logging output at DEBUG level
 - as usual, the (exact) version of Trac and the plugins used

-- Christian
--~--~---------~--~----~------------~-------~--~----~
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