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