Currently usersInfo and rolesInfo have "roles", "indirectRoles", and "privileges" fields, though "privileges" represents the full set of privileges from the user's full set of indirect roles.
I propose renaming "indirectRoles" to "inheritedRoles" and the current "privileges" field to "inheritedPrivileges", and adding a new field to rolesInfo called "privileges" that is just that role's direct privileges.
This also includes the benefit of providing a way to see just the direct privileges of a role via rolesInfo, which is important to have when managing (especially removing) the privileges that a role has.
- is duplicated by
-
SERVER-11963 rename field "indirectRoles" in output of rolesInfo command
- Closed