[Zope3-dev] ForbiddenAttribute: notify
Marcus J. Ertl
marcus.ertl@larp-welt.de
13 Jul 2003 21:30:27 +0200
Hi!
Im my product, till now I did this to add a new board to a folder using
my own add-screen::
class LNBoardAddView:
implements(IAdding)
def action(self, connection):
board = LNBoard(connection)
publish(self.context.context, ObjectCreatedEvent(board))
self.context.add(board)
self.request.response.redirect(self.context.nextURL())
But after checking out the newest CVS of Zope3, I get an exeption in
self.context.add(board), going down to:
File "/usr/local/zope3/src/zope/security/checker.py", line 138, in
check_getattr
self.check(object, name)
File "/usr/local/zope3/src/zope/security/checker.py", line 173, in
check
raise ForbiddenAttribute, name
ForbiddenAttribute: notify
What's going wrong now!
Bye
Marcus