[SERVER-76178] Fix moveRange authorization requirements Created: 17/Apr/23  Updated: 29/Oct/23  Resolved: 18/Apr/23

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 6.0.5, 6.3.0-rc3
Fix Version/s: 7.0.0-rc0, 7.1.0-rc0, 6.0.6, 6.3.2

Type: Bug Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Pierlauro Sciarelli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0, v6.3, v6.0
Sprint: Sharding EMEA 2023-05-01
Participants:

 Description   

In v6.0 the moveRange command has been introduced requiring cluster-wide authorization for the moveChunk action type while the moveChunk command requires per-namespace authorization for the moveChunk action type.

Purpose of this ticket is to uniform the authorization policy, changing the moveRange's one to fit the moveChunk's one.



 Comments   
Comment by Githook User [ 20/Apr/23 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-76178 Fix moveRange authorization requirements
Branch: v6.0
https://github.com/mongodb/mongo/commit/44b65708ef058734d9847d41d499efba888e298e

Comment by Githook User [ 20/Apr/23 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-76178 Fix moveRange authorization requirements
Branch: v6.3
https://github.com/mongodb/mongo/commit/0bda3eeafce8799f0f10a23c90a1351644b7e077

Comment by Githook User [ 20/Apr/23 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-76178 Fix moveRange authorization requirements
Branch: v7.0
https://github.com/mongodb/mongo/commit/0f95c430d14615a5bf0dad8d9af2667b2855916a

Comment by Githook User [ 18/Apr/23 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-76178 Fix moveRange authorization requirements
Branch: master
https://github.com/mongodb/mongo/commit/8863b04c282557081cf2634bce0e26f4fa5389b2

Generated at Thu Feb 08 06:32:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.