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

Inconsistency in error messages for link rbac privileges

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • Goldfish GA
    • Goldfish GA
    • analytics
    • Couchbase server:
      DEV Edition 7.6.100 build enterprise
    • Untriaged
    • 0
    • Unknown

    Description

      I see small inconsistency in RBAC error messages between other resource types and links.
      For example, collection RBAC error messages look something like this

      User must have permission (cluster.analytics.grant.COLLECTION[Default:Default:aYIULgx]!CREATE)
      User must have permission (cluster.analytics.grant.COLLECTION[Default:Default:oYAnAjGWkPyPH9muXMcCkoBIt]!DROP)

      where the resource on which user doesn't have permission is specified.

      But for links we do not see the resource name(link name) in the error message for which the permission is not present.

      User must have permission (cluster.analytics.grant.LINK[]!CREATE)
      User must have permission (cluster.analytics.grant.LINK[]!DROP)

      I understand it's obvious on which resource the permission is not present but I think it would be good have consistency for error messages among the different resource types.

      Attachments

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

        Activity

          People

            ankit.prabhu Ankit Prabhu
            mohsin.ahmed Mohsin Ahmed
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty