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

Bucket admin cannot update FTS index alias gets 401 and user is taken to login page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Critical
    • 5.0.0
    • 4.5.0
    • fts
    • 4.5.0-1910 Enterprise Edition (build-1910)

    Description

      1. Configure CB Server with LDAP and create a user in LDAP
      2. Install bucket - travel-sample
      3. Configure user in 1 to be an Admin
      4. Create Index and Index alias
      5. Change user in 1 to be a bucket_admin[*] role
      6. Now from FTS node, edit the index - no Issue
      7. Edit index_alias

      User is taken to login page.

      http://192.168.46.102:8091/_p/fts/api/index/test_1_alias?indexName=test_1_alias&indexParams=%7B%22targets%22:%7B%22test_1_alias%22:%7B%7D%7D%7D&indexType=fulltext-alias&planParams=%7B%0A++%22maxPartitionsPerPIndex%22:+32,%0A++%22numReplicas%22:+0,%0A++%22hierarchyRules%22:+null,%0A++%22nodePlanParams%22:+null,%0A++%22pindexWeights%22:+null,%0A++%22planFrozen%22:+false%0A%7D&prevIndexUUID=12c60e12f9a335bb&sourceName=&sourceType=nil&sourceUUID=
       
       
      Response - need auth
       
      ==========================
      http://192.168.46.102:8091/uilogout
       
      Response - errorMessageFull
       
      need auth
       
      401
       
      ===========================
      GET http://192.168.46.102:8091/pools
      401 Unauthorized
      		
      XML Parsing Error: no element found Location: moz-nullprincipal:{a74f20c3-7cb5-6443-9a09-51aff050d426} Line Number 1, Column 1:
      
      

      Attachments

        Issue Links

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

          Activity

            People

              ritam.sharma Ritam Sharma
              ritam.sharma Ritam Sharma
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty