0
Good afternoon, you can put a Boolean flag in the controller that takes users to these pages and use the th:if
whether or not to display the button. For example:
<button th:if="${podeAlterarCliente} type="button" class="btn btn-secondary">Alterar Cliente</button>
I hope I’ve helped!