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

[n1ql rbac] The builtin user is getting updated when specifying a new role on a different bucket

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.0.0
    • 5.0.0
    • query
    •  5.0.0-2261
    • Untriaged
    • No

    Description

      1. create a built in user on bucket-1 with role as data_reader:
      curl -X PUT http://localhost:8091/settings/rbac/users/builtin/intuser -d "name=TestInternalUser2&roles=data_reader[Bucket-2]&password=pwintuser" -u Administrator:password

      The user gets created.
      2. create a new user on bucket-2 with role as data_reader_writer:
      curl -X PUT http://localhost:8091/settings/rbac/users/builtin/intuser -d "name=TestInternalUser4&roles=data_reader_writer[Bucket-1]&password=pwintuser123" -u Administrator:password

      Now in UI we see that TestInternalUser2 gets updated to TestInternalUser4.
      Shouldnt we see both TestInternalUser2 and TestInternalUser4?

      Attachments

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

        Activity

          People

            Prerna.Manaktala Prerna Manaktala (Inactive)
            Prerna.Manaktala Prerna Manaktala (Inactive)
            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