Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-48891

Finding "authorized users" for a bucket should be optimized to run fewer permission filterning REST API requests

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Critical
    • None
    • 6.6.3
    • ns_server, UI
    • None
    • 1

    Description

      In order to populate the "authorized users" link in the bucket editing dialog the UI runs way too many requests to get users with permission filters.

      We run this may REST API requests:

      Each REST API request is actually fairly heavy as it needs to iterate over all users and tombstones in the users.dets file applying the permission filter.

      It would be a lot better if we could pass an list of permissions with disjunction (i.e. "or") semantics.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dfinlay Dave Finlay
            dfinlay Dave Finlay
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty