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

ability to use wildcards in resource field of custom role

    • Type: Icon: Improvement Improvement
    • Resolution: Community Answered
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible

      When working for a lot of customers, it is a good idea to keep their data stored in separate databases. The software running on it will access its own tables, but requires updating of the roles of every new customer. The only solution currently would be to use the Atlas admin api, to automate this.

      A much more elegant way would be if we could use a wildcard in the resource specification. For instance: `resource: {db: "customer_*", collection: "products"}, action: ["find"]`.

            Assignee:
            Unassigned Unassigned
            Reporter:
            roald@shoppingminds.com Roald Osinga
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: