SERVER-258 current op should probably be read only authorized afterall
This commit is contained in:
@@ -95,7 +95,7 @@ namespace mongo {
|
||||
BSONObjBuilder b;
|
||||
|
||||
AuthenticationInfo *ai = cc().ai;
|
||||
if( !ai->isAuthorized("admin") ) {
|
||||
if( !ai->isReadOnlyAuthorized("admin") ) {
|
||||
BSONObjBuilder b;
|
||||
b.append("err", "unauthorized");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user