Validate privileges (action/resource type mapping) granted to roles

XMLWordPrintableJSON

    • Server Security
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      For UDR, add validation code to make sure that its not possible to grant incorrect, meaningless privileges. Some examples of such privileges are:

      • Cluster membership management (addShard, replSetReconfig, etc) on anything but the clusterResource.
      • CRUD (find, insert, update, remove) on cluster resource

      More specifically for all action types map which ones should be grantable to which type of the five basic resource types in UDR.

      For reference, the 5 types of grantable resource patterns are:

      1. A specific namespace (<dbname>.<collectionName>)
      2. All collections in a given database (excluding system collections)
      3. A given collection name in all databases
      4. All collections in all databases (excluding system collections)
      5. The cluster resource.

            Assignee:
            [DO NOT USE] Backlog - Security Team
            Reporter:
            Andreas Nilsson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: