Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1446

Ranger Solr Plugin does not work when the collection list in the request is empty

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.7.0, 0.6.1, 0.6.2, 0.6.3
    • Fix Version/s: 1.0.0, 0.7.1
    • Component/s: plugins
    • Labels:
      None

      Description

      The fix of Ranger-1095 set the initial value of "denied" to "true" from the previous "false". One impact of this change is that, when context.getCollectionRequests() is empty which could be the case in many invocations Solr makes to Ranger on authorization per client request, the permission is plainly denied without going to Ranger policy engine. So the fix changed the default behavior related "denied".

      A proper fix of Ranger-1095 IMO should be just to set the "denied" to "true" in the catch block without changing the initial value of the variable.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              yzhou2001 Yan
              Reporter:
              yzhou2001 Yan

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment