Don't link to create a label if the user wouldn't be able to I'd misread the permission hierarchy the first time and assumed that if user can manage, they can also add a label
1 files changed, 2 insertions(+), 0 deletions(-) M todosrht/templates/ticket.html
M todosrht/templates/ticket.html => todosrht/templates/ticket.html +2 -0
@@ 210,9 210,11 @@ {% if TicketAccess.edit in access and tracker.labels|count == 0 %} No labels defined. {% if current_user and current_user.id == tracker.owner_id %} <a href="{{url_for("tracker.tracker_labels_GET", owner=tracker.owner.canonical_name, name=tracker.name)}}" >Create one {{icon('caret-right')}}</a> {% endif %} {% else %} No labels applied. {% endif %}