Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9049

RuleBasedAuthorizationPlugin should use regex in params instead of just String.equal()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1, 7.0
    • Component/s: None
    • Labels:
      None

      Description

      Params can have complex values which will be difficult to capture in a single string. So, a user can specify a full regex if it is prefixed with a "REGEX:"

      example:

      "{params" : {"action":"REGEX:(i?)create"}
      }
      

        Attachments

        1. SOLR-9049.patch
          8 kB
          Noble Paul
        2. SOLR-9049.patch
          8 kB
          Noble Paul

          Activity

            People

            • Assignee:
              noble.paul Noble Paul
              Reporter:
              noble.paul Noble Paul
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: