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

Query-update - can update any bucket

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 5.0.0
    • 5.0.0
    • query
    • Enterprise Edition 5.0.0-2393 build 2393
    • Untriaged
    • Centos 64-bit
    • No

    Description

      1. Create 2 buckets - 1 and 2. Create primary index on bucket 1 and 2. (testbucket and travel-sample) - testbucket is an authless bucket
      2. Create a user and give query-update role to bucket 2 (travel-sample)
      3. Login and user and run update statement against bucket 1. (testbucket0

      Expected result - user does not query-update role on bucket 1 (testbucket), hence should be unauthorized.

      Actual result - user is able to execute update statement on bucket1(test bucket)

      Attachments

        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:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty