예제 #1
0
파일: event.py 프로젝트: imfht/flaskapps
 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
예제 #2
0
 def _check_access(self):
     RHDisplayEventBase._check_access(self)
     DownloadAttachmentMixin._check_access(self)