[Grok-dev] Final touches for a 1.0 "proper"

Jan-Wijbrand Kolman janwijbrand at gmail.com
Wed Sep 30 06:48:24 EDT 2009


Martijn Faassen wrote:
>> * It is not really a show stopper, it would be nice if someone (Martijn, 
>> Uli?) could have a look at what I skethced out here:
>>
>> http://svn.zope.org/grokcore.startup/branches/jw-configurable-ireraise-adaptation/?rev=104430&view=rev
>>
>> See also the earlier "using zope.testbrowser to test for Unauthorized 
>> exceptions and updated zope.publisher with IReRaise exception support" 
>> thread.
> 
> I took a look at it. How is exempt-exceptions configured?

Like I In the debug.ini file for your grokproject, something like:

[app:zope]
use = egg:Debugging#debug
filter-with = translogger
exempt-exceptions = zope.security.interfaces.IUnauthorized,
                     some.other.interface.ISomething

Ofcourse, grokproject will generate one for you with the IUnauthorized 
exempt already in there.

> I think this needs some documentation on when and how one would use it.

Sure, but I wanted some feedback on the approach first.

Do I understand that people generally agree on this approach? Surely we 
need to document the behaviour, for example in the upgrade notes.


regards,
jw



More information about the Grok-dev mailing list