Project

General

Profile

« Previous | Next » 

Revision 57351

handling of 403-forbidden errors moved to backend controller
(revision 57350 @ /uoa-repository-manager-service/trunk)

View differences:

sources-update-repo.component.ts
64 64
          this.errorMessage = loadingRepoError;
65 65
        },
66 66
        () => {
67
          if ( this.authService.activateFrontAuthorization && (this.authService.getUserEmail() !== this.repo.registeredBy.trim()) ) {
68
            this.router.navigateByUrl('/403-forbidden', { skipLocationChange: true });
69
          } else {
70 67
            this.logoURL = this.repo.logoUrl;
71 68
            this.getRepoInterfaces();
72
          }
73 69
        }
74 70
      );
75 71
    }

Also available in: Unified diff