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

Run dependency management call as privileged action

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-4, 2.5.5
    • 3.0.0-beta-1
    • Grape
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: