Skip to content

Commit

Permalink
fix: property boxes render conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominick Leppich committed Jan 20, 2025
1 parent fee2f32 commit 5e1dd25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/webapp/WEB-INF/taglibs/properties/property.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
class="fa fa-square-o fa-lg" />
</h:panelGroup>
</h:panelGroup>
<c:if test="#{editable and LoginForm.hasRole('Workflow_General_Details_Edit')}">
<c:if test="#{editable}">
<button:row styleClass="ms-auto my-auto ps-2">
<f:ajax
render="propertyEditArea"
Expand Down Expand Up @@ -145,7 +145,7 @@
value="eigenschaft" />
</button>
</c:if>
<c:if test="#{scope == 'process'}">
<c:if test="#{scope == 'process' and LoginForm.hasRole('Workflow_General_Details_Edit')}">
<button
class="btn btn-blank"
data-bs-toggle="tooltip"
Expand Down Expand Up @@ -176,7 +176,7 @@
class="btn btn-blank"
title="#{msgs.duplicate}"
jsf:id="duplicateProperty"
jsf:rendered="#{proc.type.name != 'metadata' and scope == 'process'}">
jsf:rendered="#{proc.type.name != 'metadata' and scope == 'process' and LoginForm.hasRole('Workflow_General_Details_Edit')}">
<span
aria-hidden="true"
class="fa fa-clipboard" />
Expand Down

0 comments on commit 5e1dd25

Please sign in to comment.