mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-06 15:57:05 +00:00
Fix private security (#2731)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
3748a1465b
commit
0db9d1f786
@ -77,7 +77,7 @@ export class PrivateMiddleware extends BaseMiddleware implements Middleware {
|
|||||||
if (account._id !== core.account.System) {
|
if (account._id !== core.account.System) {
|
||||||
newQuery = {
|
newQuery = {
|
||||||
...query,
|
...query,
|
||||||
modifiedBy: account
|
modifiedBy: account._id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user