Added impersonation. More data available via auth service about the user. Added admin auth guard.

This commit is contained in:
Tom
2024-10-31 05:33:11 +00:00
parent 65f4172bc2
commit 2bde8b850a
16 changed files with 218 additions and 47 deletions

View File

@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ImpersonationComponent } from './impersonation.component';
describe('ImpersonationComponent', () => {
let component: ImpersonationComponent;
let fixture: ComponentFixture<ImpersonationComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [ImpersonationComponent]
})
.compileComponents();
fixture = TestBed.createComponent(ImpersonationComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});