Admin menu link only visisble to admins
This commit is contained in:
parent
be040162fd
commit
8a63379db7
@ -96,7 +96,7 @@
|
||||
<a href="#" class="nav-link">Contact</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="#" sec:authorize="isFullyAuthenticated()" th:href="@{/admin}" class="nav-link">
|
||||
<a href="#" sec:authorize="hasRole('ROLE_ADMIN') || hasRole('ROLE_SUPER_USER')" th:href="@{/admin}" class="nav-link">
|
||||
Admin Area
|
||||
</a>
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue
Block a user