[Zope3-Users] ForbiddenAttribute error

Maciej Wisniowski maciej.wisniowski at coig.katowice.pl
Fri Jul 6 14:43:32 EDT 2007

> I get a
> ForbiddenAttribute error when viewing the class
AFAIR ForbiddenAttribute means that you have no
permissions for attribute you want to access.
No permissions means that it is neither allowed
nor denied :)

You're using feed.entries:

> result+=[(e.updated_parsed, feed.channel, e) for e in
> feed.entries ]

Seems that 'entries' are the cause of error (as Dennis already said)
or something in this line.

If 'feed' above is of type Feed then your's IFeed doesn't
specify 'entries' attribute in it. This means no permissions
are set to 'entries' and this may cause ForbiddenAttribute

You may use pdb to simply debug what exactly causes the error.

Maciej Wisniowski

More information about the Zope3-users mailing list