diff --git a/src/main/webapp/app/mainMenu.zul b/src/main/webapp/app/mainMenu.zul index 9dd08de3..d09878c0 100644 --- a/src/main/webapp/app/mainMenu.zul +++ b/src/main/webapp/app/mainMenu.zul @@ -16,20 +16,24 @@ + href="/main/orders/material/" + disabled="${not sec:isAllGranted('PERM_READ_MATERIAL')}" /> + href="/main/orders/services/" + disabled="${not sec:isAllGranted('PERM_READ_SERVICES')}" /> + href="/main/orders/approved/" + disabled="${not sec:isAllGranted('PERM_READ_APPROVED')}" /> + href="/main/orders/created/" + disabled="${not sec:isAllGranted('PERM_READ_ORDER')}" /> @@ -37,11 +41,13 @@ + href="/main/trips/requirements/" + disabled="${not sec:isAllGranted('PERM_READ_TRIPREQUIREMENTS')}" /> + href="/main/trips/bill" + disabled="${not sec:isAllGranted('PERM_READ_TRIPBILL')}" /> @@ -89,7 +95,7 @@ + disabled="${not sec:isAllGranted('ROLE_ADMIN')}" /> + + onClick="@command('onCreateOrder')" + disabled="${not sec:isAllGranted('PERM_READ_ORDER')}" /> \ No newline at end of file