-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: 2.3.2
-
Component/s: Concurrency, Security
-
None
-
ALL
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
The auth checks for index creation happen far down, so that we can know the namespace that the index is being built on. This is a problem, however, because you might be in a lock when doing the auth checks, which could cause deadlock due to automatic privilege acquisition. We need to do the auth check at the beginning of the operation, before any locks are held
- related to
-
SERVER-8368 Possible deadlock between db mutex and ClientCursor::ccmutex during authorization in ClientCursor::eraseIfAuthorized?
-
- Closed
-