def _check_access(self): try: DownloadAttachmentMixin._check_access(self) except Forbidden: # if we get here the user has no access to the attachment itself so we # trigger the event access check since it may show the access key form # or registration required message RHDisplayEventBase._check_access(self) # the user may have access to the event but not the material so if we # are here we need to re-raise the original exception raise
def _check_access(self): RHDisplayEventBase._check_access(self) DownloadAttachmentMixin._check_access(self)