Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-825

SecureAdminHandler no longer pulls collection name for create correctly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.6.0
    • Component/s: Solr Plugin
    • Labels:
      None

      Description

      SENTRY-805 pulls the core name from NAME and tries to get the collection name the standard way, i.e. by looking at the cloud descriptor.

      But this doesn't work if the core has not been created yet.

      Instead, we should build the core descriptor in the same way as the CoreAdminHandler, see https://github.com/apache/lucene-solr/blob/857bd14169db4683c29f4c8710ff9b96f5e9fe19/solr/core/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java#L551

        Attachments

        1. SENTRY-825.patch
          7 kB
          Gregory Chanan
        2. SENTRY-825v2.patch
          7 kB
          Gregory Chanan

          Activity

            People

            • Assignee:
              gchanan Gregory Chanan
              Reporter:
              gchanan Gregory Chanan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: