Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1092

RBAC user upsert returns "malformed or role parameters are undefined: [cluster_admin[default]]"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None

    Description

      with core 1.4.7-SNAPSHOT(from commit 14d06355fc84a343bbc5cdf47ffdc6fd20c0fcd3), java client 2.4.7-SNAPSHOT (from commit aab50ea8f9674a4681443101d5da7f9b8c9c7770), and server build 5.0.0- 3217

       

      CouchbaseCluster cluster = CouchbaseCluster.create(env, nodes);

      cluster.authenticate("Administrator", "password");

              cluster.clusterManager().upsertUser("sdkqecertuser", UserSettings.build().password("password").roles(

                      Arrays.asList(new UserRole("admin", "default"))

              ));

       

      INVALID_ARGUMENTS, msg: "Cannot assign roles to user because the following roles are unknown, malformed or role parameters are undefined: [cluster_admin[default]]"

       

      Test against 5.0.0-3203 works as expected

       

      Attachments

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

        Activity

          People

            daschl Michael Nitschinger
            jaekwon.park Jae Park [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty