Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8949

Run dependency management call as privileged action

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha-4, 2.5.5
    • Fix Version/s: 3.0.0-beta-1
    • Component/s: Grape
    • Labels:
      None

      Description

      Because we run scripts with restricted permissions it would be nice if grape could run within a privileged action. Currently we use a metaclass based work around https://github.com/freeplane/freeplane/blob/b11727f6297c7b2beb75786dcdd177c3d087fae3/freeplane_plugin_script/src/main/java/groovy/runtime/metaclass/groovy/grape/GrapeMetaClass.java , however it relies on implementation details of Grape and may be broken one day.

      https://github.com/apache/groovy/pull/848

        Attachments

          Activity

            People

            • Assignee:
              daniel_sun Daniel Sun
              Reporter:
              dpolivaev Dimitry Polivaev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: