Answers for "th:if="${#authorization.expression('hasRole(''ADMIN'')"

0

th:if="${#authorization.expression('hasRole(''ADMIN'')

<a th:if="${#authorization.expression('hasRole(''ADMIN'')')}">
    <a href="/dashboard}" th:text="#{YOUR CONTENT}"></a>
    </a>

<a th:if="${#authorization.expression('hasRole(''USER'')')}">
    <a href="/dashboard}" th:input="${YOUR CONTENT}"></a>
    </a>
Posted by: Guest on May-30-2021

Code answers related to "th:if="${#authorization.expression('hasRole(''ADMIN'')"

Browse Popular Code Answers by Language