-
Type: Bug
-
Resolution: Fixed
-
Priority: Trivial - P5
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
Sharding EMEA 2022-11-28
While reading read_write_concern_defaults_application.js, I happened to notice that it creates roles "foo" and "bar", grants role "bar" to role "foo", and then tests revokeRolesFromRole by revoking the "foo" role from itself!
In other words, the "foo" role is revoked from the "foo" role. The test was probably intended to revoke "bar" role from the "foo" role. The test still fulfills its purpose but it doesn't test revokeRolesFromRole as it's used in the wild.
- is caused by
-
SERVER-45098 Test application of RWCDefaults to all commands
- Closed