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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.1, 7.0
    • None
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment