Skip to content

Commit

Permalink
#17 se agrega el role a los diversos div para mostar los botones o el…
Browse files Browse the repository at this point in the history
…ementos deacuerdo al role
  • Loading branch information
says33 committed May 3, 2016
1 parent 5b699dc commit 22b8c8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grails-app/views/depositOrder/show.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
</li>
</ol>
<sec:ifAnyGranted roles="ROLE_ADMIN, ROLE_ADMIN_IECCE, ROLE_INTEGRADO, ROLE_INTEGRADO_OPERADOR, ROLE_INTEGRADO_AUTORIZADOR">
<sec:ifAnyGranted roles="ROLE_ADMIN,ROLE_OPERADOR_IECCE, ROLE_ADMIN_IECCE, ROLE_INTEGRADO, ROLE_INTEGRADO_OPERADOR, ROLE_INTEGRADO_AUTORIZADOR">
<g:if test="${depositOrder.status != DepositOrderStatus.CREATED}">
<iframe id="frameView" src="${depositOrder.documents?.first().localUrl}" width="100%" height="400px"> </iframe>
</g:if>
Expand Down Expand Up @@ -93,7 +93,7 @@
</g:if>
</sec:ifAnyGranted>
<sec:ifAnyGranted roles="ROLE_ADMIN, ROLE_ADMIN_IECCE">
<sec:ifAnyGranted roles="ROLE_ADMIN, ROLE_ADMIN_IECCE, ROLE_OPERADOR_IECCE">
<g:if test="${depositOrder.status == DepositOrderStatus.AUTHORIZED}">
<g:link action="executeDepositOrder" id="${depositOrder.id}" params="[status:'AUTHORIZED']" class="btn btn-primary"> Ejecutar Depósito</g:link>
<a data-toggle="collapse" role="button" href="#inputReasonRejected" class="btn btn-danger" aria-expanded="false" aria-controls="inputReasonRejected">Rechazar Depósito</a>
Expand Down

0 comments on commit 22b8c8b

Please sign in to comment.