Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-7663

incorrect example for assign group to a user

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Cheshire-Cat
    • Cheshire-Cat
    • admin
    • DOC-2021-May09-S9, DOC-2021-May23-S10
    • 1

    Description

      https://docs-staging.couchbase.com/server/7.0/manage/manage-security/manage-users-and-roles.html#get-user-information-with-the-cli

      Command on help page:

      /opt/couchbase/bin/couchbase-cli user-manage --cluster http://10.143.192.101 \
      --username Administrator \
      --password password \
      --rbac-username cbrown \
      --rbac-password cBr403n438 \
      --auth-domain local \
      --edit-users-groups \
      --user-groups Admins
      

      Correct command - removed "-edit-users-group" and added "-set"

      [root@node1-cb601-centos7 bin]# /opt/couchbase/bin/couchbase-cli user-manage --cluster http://10.112.191.101 --username Administrator --password password --rbac-username cbrown --rbac-password cBr403n438 --auth-domain local --user-groups testgrp --set
      SUCCESS: User cbrown set
      

      Following statement will need an update - This specifies the --edit-users-groups flag, to indicate that group-editing is to occur.

      Attachments

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

        Activity

          People

            tony.hillman Tony Hillman (Inactive)
            ritam.sharma Ritam Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty