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

UI needs changes after change in permissions of Index service API

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.5.0
    • 5.5.0
    • UI
    • Untriaged
    • Unknown

    Description

      As per http://review.couchbase.org/#/c/91902/5/src/menelaus_web.erl 

      Permission Changes:

      For index settings API,

      • from cluster.indexes.!read to cluster.settings.indexes!read
      • from cluster.indexes.!write to cluster.settings.indexes!write

      For indexStatus API,

      • from cluster.indexes.!read to cluster.bucket[any].n1ql.index!read.

       

      There are no longer any cluster.indexes permissions used by ns_server. The UI needs to remove these permissions and replace them as above.

      Side effect of above changes include,

      • Index settings are not displayed for cluster admin , as required settings has changed from cluster.indexes.!read to cluster.settings.indexes.!read
      • the Indexes page(which uses indexStatus API) in UI does not report permission issues or other issues reported from ns_server.

      Attachments

        Issue Links

          Activity

            People

              jaekwon.park Jae Park [X] (Inactive)
              Abhijeeth.Nuthan Abhijeeth Nuthan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty