Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11961

Make names of direct/indirect roles/privilege consistent in rolesInfo and usersInfo

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.5.4
    • 2.5.5
    • Security, Usability
    • None
    • Minor Change

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              spencer@mongodb.com Spencer Brody (Inactive)
              spencer@mongodb.com Spencer Brody (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: