Comment 4 for bug 142943

Revision history for this message
Tres Seaver (tseaver) wrote :

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."