fixed permissions issue
This commit is contained in:
parent
4d2dd18484
commit
79b71fd792
@ -13,7 +13,7 @@ export class SideNavComponent implements OnInit {
|
||||
|
||||
public items: { [key: string]: { screen: string; onlyDevMode?: boolean; onlyAdmin?: boolean; userManagerOnly?: boolean; label?: string }[] } = {
|
||||
settings: [
|
||||
{ screen: 'project-templates' },
|
||||
{ screen: 'project-templates', onlyAdmin: true },
|
||||
{ screen: 'digital-signature', onlyAdmin: true },
|
||||
{ screen: 'license-info', label: 'license-information', onlyAdmin: true },
|
||||
{ screen: 'audit', onlyAdmin: true },
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
<redaction-search-input [form]="searchForm" [placeholder]="'user-listing.search'"></redaction-search-input>
|
||||
<redaction-icon-button
|
||||
(action)="openAddEditUserDialog($event)"
|
||||
*ngIf="permissionsService.isAdmin()"
|
||||
*ngIf="permissionsService.isUserAdmin()"
|
||||
icon="red:plus"
|
||||
text="user-listing.add-new"
|
||||
type="primary"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user