Require triage access for assignment

This commit is contained in:
Ivan Habunek 2018-12-03 16:29:42 +01:00 committed by Drew DeVault
parent 1c9aa0739d
commit bdf70d5274
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ def _assignment_get_ticket(owner, name, ticket_id):
ticket, access = get_ticket(tracker, ticket_id)
if not ticket:
abort(404)
if TicketAccess.edit not in access:
if TicketAccess.triage not in access:
abort(401)
return ticket