def _checkProtection(self): RHProtected._checkProtection(self) if not self._doProcess: # Logged-in check failed return if not self._avatar.canUserModify(self._getUser()): raise errors.AccessControlError("user")
def _checkProtection(self): RHProtected._checkSessionUser(self) if not self._aw.getUser(): raise errors.AccessControlError("user")
def _checkProtection(self): RHUserBase._checkProtection(self) if self._aw.getUser(): if not self._avatar.canModify(self._aw): raise errors.AccessControlError("user")
def _checkProtection(self): RHProtected._checkProtection(self) if not self._avatar.canUserModify(self._getUser()): raise errors.AccessControlError("user")