-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Server Security
The {usersInfo:...} command includes an `_id: 'username.dbname'` field for the document as stored in the local users collection.
The {rolesInfo:...} command does not since it was originally implemented to pull data from the RoleGraph which did not synthesize this data back in when serializing.
We should make a decision on whether these two two commands should be consistent and how. Options:
- Leave them inconsistent.
- Remove `_id` from {usersInfo:...} output as it is redundant.
- Add an `_id` field to {rolesInfo:...} to gain consistency without breaking current callers of {usersInfo:...}