mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
ACA-4615 view profile functionality should also be visible for SSO users (#2694)
This commit is contained in:
@@ -18,7 +18,7 @@ export class ViewProfileRuleGuard implements CanActivate {
|
|||||||
constructor(private authService: AuthenticationService) {}
|
constructor(private authService: AuthenticationService) {}
|
||||||
|
|
||||||
canActivate(_: ActivatedRouteSnapshot): Observable<boolean> | Promise<boolean> | boolean {
|
canActivate(_: ActivatedRouteSnapshot): Observable<boolean> | Promise<boolean> | boolean {
|
||||||
return this.isEcmLoggedIn() && !this.authService.isOauth();
|
return this.isEcmLoggedIn() || this.authService.isOauth();
|
||||||
}
|
}
|
||||||
|
|
||||||
private isEcmLoggedIn() {
|
private isEcmLoggedIn() {
|
||||||
|
Reference in New Issue
Block a user