Restrict work item list to admin only

This commit is contained in:
John Lyon-Smith
2018-04-27 19:38:58 -07:00
parent 53a4df55a2
commit f64c48fba6
4 changed files with 36 additions and 5 deletions

View File

@@ -107,6 +107,8 @@ export class WorkItemRoutes {
"data._id": 1,
"data.resolution": 1,
"data.status": 1,
"data.createdAt": 1,
"data.team": 1,
})
const items = await aggregate.exec()