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

ability to use wildcards in resource field of custom role

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Community Answered
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Fully Compatible

    Description

      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"]`.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: