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

Built-In functions should work without execute privilege

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Goldfish GA
    • Goldfish GA
    • analytics

    Description

      EXECUTE privilege should be applicable to User-defined functions and not built-in functions.
      Ref : https://docs.google.com/document/d/1lNUFB-cPqwe0g2bhzEJQ3qzrGohVu-7O_xWoD5w6-Zo/edit?pli=1#heading=h.m5e8jgc1d76y

      User has SELECT privilege on collection new_collection: 

       select count(*) as count from new_collection;
      

      User must have permission (cluster.analytics.grant.FUNCTION[asterix:asterix:array_count:1]!EXECUTE)

      Attachments

        For Gerrit Dashboard: MB-61835
        # Subject Branch Project Status CR V

        Activity

          People

            mohsin.ahmed Mohsin Ahmed
            janhavi.tripurwar Janhavi Tripurwar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty