[JIRA] (JENKINS-49199) Job DSL Authorizarion Matrix cannot manage the folder inheritance

7 views
Skip to first unread message

mail@daniel-spilker.com (JIRA)

unread,
Mar 15, 2018, 7:11:02 PM3/15/18
to jenkinsc...@googlegroups.com
Daniel Spilker assigned an issue to Daniel Beck
 
Jenkins / Improvement JENKINS-49199
Job DSL Authorizarion Matrix cannot manage the folder inheritance
Change By: Daniel Spilker
Assignee: Daniel Spilker Beck
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

mail@daniel-spilker.com (JIRA)

unread,
Mar 15, 2018, 7:11:02 PM3/15/18
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Apr 24, 2019, 5:46:02 PM4/24/19
to jenkinsc...@googlegroups.com
Daniel Beck resolved as Fixed
 

This should be fixed in matrix-auth 2.4.

Change By: Daniel Beck
Status: Reopened Resolved
Resolution: Fixed
Released As: matrix-auth-2.4
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

joshua.sleeper@gmail.com (JIRA)

unread,
May 23, 2019, 5:23:03 PM5/23/19
to jenkinsc...@googlegroups.com
Josh Sleeper commented on Improvement JENKINS-49199
 
Re: Job DSL Authorizarion Matrix cannot manage the folder inheritance

apologies for the slight necro-post, but I haven't come across a better place to say something about this not working for me with the very latest Jenkins and matrix-auth plugins.

even something as simple as the example Daniel Spilker gave above (except using authorizationMatrix since that was the symbol chosen) fails for me with the following error:

 

ERROR: Scripts not permitted to use method groovy.lang.GroovyObject invokeMethod java.lang.String java.lang.Object (javaposse.jobdsl.dsl.Folder authorizationMatrix ConfigureJobDsl$_run_closure2$_closure5$_closure6)

 

here's some specific code that's giving me that error:

folder('project') {
    properties {
        authorizationMatrix {
            inheritanceStrategy {
                inheriting()
            }
            permissions(['hudson.model.Item.Build:jsleeper'])
        }
    }
}

 

mail@daniel-spilker.com (JIRA)

unread,
Mar 11, 2020, 9:00:02 AM3/11/20
to jenkinsc...@googlegroups.com
Daniel Spilker closed an issue as Fixed
 
Change By: Daniel Spilker
Status: Resolved Closed
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages