Commit 7defbdc2 authored by Matija Obreza's avatar Matija Obreza
Browse files

Edit/Permission links not showing on project page

parent 1364c8eb
...@@ -15,12 +15,12 @@ ...@@ -15,12 +15,12 @@
</small> </small>
</h1> </h1>
<security:authorize access="hasRole('ADMINISTRATOR') or hasPermission(#crop, 'ADMINISTRATION')"> <security:authorize access="hasRole('ADMINISTRATOR') or hasPermission(#project, 'ADMINISTRATION')">
<a href="<c:url value="/acl/${project.getClass().name}/${project.id}/permissions"><c:param name="back"><c:url value="/project/${project.code}" /></c:param></c:url>" class="close"> <a href="<c:url value="/acl/${project.getClass().name}/${project.id}/permissions"><c:param name="back"><c:url value="/project/${project.code}" /></c:param></c:url>" class="close">
<spring:message code="edit-acl" /> <spring:message code="edit-acl" />
</a> </a>
</security:authorize> </security:authorize>
<security:authorize access="hasRole('ADMINISTRATOR') or hasRole('CONTENTMANAGER') or hasPermission(#crop, 'ADMINISTRATION')"> <security:authorize access="hasRole('ADMINISTRATOR') or hasRole('CONTENTMANAGER') or hasPermission(#project, 'ADMINISTRATION')">
<a href="<c:url value="/project/${project.code}/edit" />" class="close"> <a href="<c:url value="/project/${project.code}/edit" />" class="close">
<spring:message code="edit" /> <spring:message code="edit" />
</a> </a>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment