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

Update --enable-users documentation to specify the roles that support the permission

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.6.3
    • 7.6.2
    • tools
    • 0

    Description

      The documentation mentions that for --enable-users, you need "cluster.admin.security". It is actually much more complicated than that, so the docs should explain/summarise the below precise behaviour:

      In addition, the specific users that get backed up depends on the roles of the user used to perform the backup (in addition to the actual Backup role being required):

      When performing a restore, the user will only be allowed to restore users if it has permission to create those same users. This means the following:

      • For Full Admin, restoring users will always be permitted
      • For Local User Security Admin, restoring users from a backup containing only local users is permitted
      • For External User Security Admin, restoring users from a backup containing only external users is permitted
      • For Read-Only Admin, restoring users is not permitted.

      The middle two roles can be combined, which would give a user that can backup non-admin users and restore backups containing only non-admin users.

      All of the above is assuming that the user has whatever other permissions are required to perform the rest of the backup/restore (without --enable-users).

      Attachments

        Issue Links

          For Gerrit Dashboard: DOC-12270
          # Subject Branch Project Status CR V

          Activity

            People

              peter.searby Peter Searby
              peter.searby Peter Searby
              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