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

query integration with RBAC

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Critical
    • 4.5.0
    • 4.5.0
    • query
    • Security Level: Public

    Description

      The following functions are deprecated and will be removed from cbauth at the end of watson:
      Creds.IsAdmin, Creds.CanReadAnyMetadata, Creds.IsROAdmin, Creds.CanAccessBucket, Creds.CanReadBucket, Creds.CanDDLBucket
      All these calls should be replaced with Creds.IsAllowed call to test appropriate permission for REST API

      Also the way authentication/authorization failure should be handled had changed.

      Please refer to please also refer to "changes in cbauth" section of the document for more info:
      https://docs.google.com/document/d/1oorpsTFMvF2kk_XuC8cJoxS5xQtk-bInV_OkoED8050

      Deprecated functions are used in these 2 files:
      goproj/src/github.com/couchbase/query/datastore/couchbase/couchbase.go
      goproj/src/github.com/couchbase/query/clustering/couchbase/clustering_cb.go

      Attachments

        Issue Links

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

          Activity

            People

              johan.larson Johan Larson (Inactive)
              artem Artem Stemkovski
              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