Fix: Permissions for header-footer.
The persission Owner is only for Settle Option and Header / Footer
This commit is contained in:
@ -13,7 +13,7 @@ const headerRoutes: Routes = [
|
||||
component: HeaderFooterComponent,
|
||||
canActivate: [AuthGuard],
|
||||
data: {
|
||||
permission: 'Products',
|
||||
permission: 'Owner',
|
||||
},
|
||||
resolve: {
|
||||
list: HeaderFooterResolver,
|
||||
@ -24,7 +24,7 @@ const headerRoutes: Routes = [
|
||||
component: HeaderFooterComponent,
|
||||
canActivate: [AuthGuard],
|
||||
data: {
|
||||
permission: 'Products',
|
||||
permission: 'Owner',
|
||||
},
|
||||
resolve: {
|
||||
list: HeaderFooterResolver,
|
||||
|
||||
@ -227,7 +227,7 @@
|
||||
fxLayout="column"
|
||||
class="square-button"
|
||||
matRipple
|
||||
*ngIf="auth.allowed('products')"
|
||||
*ngIf="auth.allowed('owner')"
|
||||
[routerLink]="['/', 'header-footer']"
|
||||
>
|
||||
<h3 class="item-name">Header / Footer</h3>
|
||||
|
||||
Reference in New Issue
Block a user