diff --git a/extension.schema.json b/extension.schema.json index 16d054672..a2a34d27c 100644 --- a/extension.schema.json +++ b/extension.schema.json @@ -179,11 +179,6 @@ "description": "Unique identifier", "type": "string" }, - "provider": { - "description": "Define on which system the user should be authenticate", - "type": "string", - "enum": ["BPM", "ECM", "ALL"] - }, "icon": { "description": "Element icon", "type": "string" diff --git a/src/app/components/sidenav/sidenav.component.html b/src/app/components/sidenav/sidenav.component.html index 5c47eaf98..6a84c7f1d 100644 --- a/src/app/components/sidenav/sidenav.component.html +++ b/src/app/components/sidenav/sidenav.component.html @@ -7,11 +7,11 @@
- + - + @@ -19,11 +19,11 @@
- + - +
diff --git a/src/app/components/sidenav/sidenav.component.ts b/src/app/components/sidenav/sidenav.component.ts index ffa4117d0..07ec5005a 100755 --- a/src/app/components/sidenav/sidenav.component.ts +++ b/src/app/components/sidenav/sidenav.component.ts @@ -25,7 +25,6 @@ import { Component, Input, OnInit, ViewEncapsulation, OnDestroy } from '@angular/core'; import { NavBarGroupRef } from '@alfresco/adf-extensions'; -import { AuthenticationService } from '@alfresco/adf-core'; import { Store } from '@ngrx/store'; import { AppStore, getSideNavState } from '@alfresco/aca-shared/store'; import { Subject } from 'rxjs'; @@ -46,7 +45,7 @@ export class SidenavComponent implements OnInit, OnDestroy { groups: Array = []; private onDestroy$ = new Subject(); - constructor(private store: Store, private extensions: AppExtensionService, private authService: AuthenticationService) {} + constructor(private store: Store, private extensions: AppExtensionService) {} ngOnInit() { this.store @@ -57,11 +56,6 @@ export class SidenavComponent implements OnInit, OnDestroy { }); } - isLoggedIn(provider: string): boolean { - if (provider === undefined) return true; - return this.authService.isLoggedInWith(provider); - } - trackById(_: number, obj: { id: string }) { return obj.id; }