Restrict work item list to admin only
This commit is contained in:
1 parent
53a4df55a2
commit
f64c48fba6
4 files changed
+36
-5
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user