You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (JIRA)" <ji...@apache.org> on 2019/01/06 10:18:00 UTC

[jira] [Resolved] (GROOVY-8949) Run dependency management call as privileged action

     [ https://issues.apache.org/jira/browse/GROOVY-8949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Sun resolved GROOVY-8949.
--------------------------------
       Resolution: Fixed
         Assignee: Daniel Sun
    Fix Version/s: 3.0.0-alpha-5

The proposed PR is merged:
https://github.com/apache/groovy/commit/9018229f2adf703e9ac51423b8934aafe62413de

> Run dependency management call as privileged action 
> ----------------------------------------------------
>
>                 Key: GROOVY-8949
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8949
>             Project: Groovy
>          Issue Type: Improvement
>          Components: Grape
>    Affects Versions: 3.0.0-alpha-4, 2.5.5
>            Reporter: Dimitry Polivaev
>            Assignee: Daniel Sun
>            Priority: Major
>             Fix For: 3.0.0-alpha-5
>
>
> 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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)