Ignore:
Timestamp:
02/09/23 15:02:44 (23 months ago)
Author:
milamihajlovska <mila.mihajlovska01@…>
Branches:
master
Children:
5444409
Parents:
cc88ec2
Message:

update header.html authorities

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/fragments/header.html

    rcc88ec2 r17a2fda  
    6666        <li class="begin"><a href="/events">Настани</a></li>
    6767<!--        <li class="begin"><a href="#!">Faq</a></li>-->
    68         <li class="begin"><a href="/myTickets">Мои Карти</a></li>
     68        <th:block sec:authorize="hasAuthority('ROLE_USER')">
     69            <li class="begin"><a href="/myTickets">Мои Карти</a></li>
     70        </th:block>
     71        <th:block sec:authorize="hasAuthority('ROLE_ADMIN')">
    6972        <li class="begin"><a href="/workers">Вработени</a></li>
     73        </th:block>
     74        <th:block sec:authorize="hasAuthority('ROLE_ADMIN')">
    7075        <li class="begin"><a href="/addProjection">Нова Проекција</a></li>
     76        </th:block>
     77        <th:block sec:authorize="hasAuthority('ROLE_ADMIN')">
    7178        <li class="begin"><a href="/addFilm">Нов Филм</a></li>
     79        </th:block>
     80        <th:block sec:authorize="hasAuthority('ROLE_ADMIN')">
    7281        <li class="begin"><a href="/addEvent">Нов Настан</a></li>
    73 
     82        </th:block>
    7483    </ul>
    7584    <ul class="menu-right">
Note: See TracChangeset for help on using the changeset viewer.