def _checkProtection(self): RHAbstractBase._checkProtection(self) if not self.comment.can_edit(session.user): raise Forbidden