From f4bff3772967d3a6ea360d6c5d44d794c6092dbb Mon Sep 17 00:00:00 2001 From: Franta Pribyl Date: Fri, 3 Oct 2014 20:09:09 +0200 Subject: [PATCH] =?UTF-8?q?Polo=C5=BEky=20hlavn=C3=ADho=20menu=20podm?= =?UTF-8?q?=C3=ADn=C4=9Bny=20pr=C3=A1vama=20na=20jednotliv=C3=A9=20agendy.?= =?UTF-8?q?=20Povel=20kontextov=C3=A9=20n=C3=A1pov=C4=9Bdy=20podm=C3=ADn?= =?UTF-8?q?=C4=9Bn=20na=20pr=C3=A1va=20na=20objedn=C3=A1vky.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Proč ale stále skáče 403 u uživatele user1, který má práva na schválené požadavky netuším. refs #147 --- src/main/webapp/app/mainMenu.zul | 20 ++++++++++++------- src/main/webapp/main/orders/approved/grid.zul | 4 +++- 2 files changed, 16 insertions(+), 8 deletions(-) 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