[zope2-tracker] [Bug 142943] Re: App.Management.Tabs.manage_workspace sucks! :-(

Tres Seaver tseaver at palladion.com
Mon Apr 12 06:39:48 EDT 2010


1.  Protecting with the 'Authenticated' role allows this method to do
its job, which is to show you the first tab you are authorized to view.

2. If you aren't authorized to view any tab at all, then the method
raises Unauthorized.

3. The bare 'except:' is gone since r31018 (July 2005).

4. Current code does not raise any exception other than Unauthorized..

5. The error message looks fine to me:  there aren't any examples at all
of objects which have tabs but for which the absence of any authorized
tabs means anything other than "you can't view this object."

** Changed in: zope2
       Status: New => Fix Released

-- 
App.Management.Tabs.manage_workspace sucks! :-(
https://bugs.launchpad.net/bugs/142943
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.


More information about the zope2-tracker mailing list