You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2019/05/20 07:32:12 UTC

[jira] [Closed] (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 ]

Paul King closed GROOVY-8949.
-----------------------------

> 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-beta-1
>
>
> 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)