[Zope3-Users] ForbiddenAttribute error

Hermann Himmelbauer dusty at qwer.tk
Sat Jul 7 13:17:40 EDT 2007


Am Freitag, 6. Juli 2007 16:29 schrieb Mikael Moutakis:
> Hello
> I wrote a feed aggregator using the module FeedParser. I stored the RSS
> feed url in a persistant content component and retrieved the feed data in
> the view class. But I thought that I should move the feed data into the
> content component class instead of retrieving it in the view class. I get a
> ForbiddenAttribute error when viewing the class

Please note, that "ForbiddenAttribute" is also raised, when an object has no 
such attribute. I'd recommend to check (e.g. via dir(object)) if the 
attribute really exists.

I'm no expert in Zope security, but I assume that "ForbiddenAttribute" is 
raised, as no permission is known for the attribute, simply, because it does 
not exist.

Regards,
Hermann

-- 
x1 at aon.at
GPG key ID: 299893C7 (on keyservers)
FP: 0124 2584 8809 EF2A DBF9  4902 64B4 D16B 2998 93C7


More information about the Zope3-users mailing list