-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
ALL
-
-
Security 2022-05-30
For a sharded cluster with auth enabled, running any operation on system.views results in an authentication error despite being connected as a user with the following roles:
{ "role" : "backup", "db" : "admin" },
,
,
,
Additionally, when I run show collections on a database with views, the system.views collection is not shown. This behavior differs from that of a replica set. When I create a replica set with auth and authenticate as a user with the same roles as above, I see the system.views collection and am able to run operations on the collection accordingly.
Is this difference in behavior between mongos and mongod intentional?