trackers: do not require write access to view

This commit is contained in:
Drew DeVault 2020-04-29 10:36:59 -04:00
parent 313209a06e
commit 07251c0336
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ trackers = Blueprint("trackers", __name__)
@trackers.route("/<owner>/<project_name>/trackers")
def trackers_GET(owner, project_name):
owner, project = get_project(owner, project_name, ProjectAccess.write)
owner, project = get_project(owner, project_name, ProjectAccess.read)
trackers = (Tracker.query
.filter(Tracker.project_id == project.id)
.order_by(Tracker.updated.desc()))