Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 5x 5x 5x 1x 1x 5x 5x | import { Component, OnInit } from '@angular/core';
import { Permission } from '../../../shared/models/permissions';
import { AuthStorageService } from '../../../shared/services/auth-storage.service';
@Component({
selector: 'cd-administration',
template: require('./administration.component.html'),
styles: []
})
export class AdministrationComponent implements OnInit {
userPermission: Permission;
constructor(private authStorageService: AuthStorageService) {
this.userPermission = this.authStorageService.getPermissions().user;
}
ngOnInit() {}
}
|