add view，index，user，role to mongodb Change Stream
I tested the changeStream of mongodb. The changes of adding view, index, user and role to mongodb are not reflected in changeStream, but the corresponding log can be found in oplog. I have an issue on https://jira.mongodb.org/browse/SERVER-66460 and got it confirmed, but Chris Kelly thinks this should be a feature. Hopes to add this feature in future versions
pickup shared this idea
In MongoDB 6.0 there will be an ability to watch for views and indexes with showExpandedEvents option.
There's nothing planned as of today regarding the users and roles.
Could you tell a little bit more about your need for users and roles, what is the use case?