示例#1
0
 def _checkProtection(self):
     RHAbstractBase._checkProtection(self)
     if not self.comment.can_edit(session.user):
         raise Forbidden
示例#2
0
 def _checkProtection(self):
     RHAbstractBase._checkProtection(self)
     if not self.comment.can_edit(session.user):
         raise Forbidden