ctrabold created JENKINS-12750:
----------------------------------

             Summary: Scriptler 2.0 breaks cc.xml-View for Anonymous User 
having READ perm on "Overall" and "Job"
                 Key: JENKINS-12750
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12750
             Project: Jenkins
          Issue Type: Bug
          Components: scriptler
    Affects Versions: current
         Environment: executable-war    /usr/share/jenkins/jenkins.war
file.encoding   UTF-8
file.encoding.pkg       sun.io
file.separator  /
hudson.diyChunking      true
java.awt.graphicsenv    sun.awt.X11GraphicsEnvironment
java.awt.headless       true
java.awt.printerjob     sun.print.PSPrinterJob
java.class.path /usr/share/jenkins/jenkins.war
java.class.version      50.0
java.endorsed.dirs      /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/endorsed
java.ext.dirs   
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext:/usr/java/packages/lib/ext
java.home       /usr/lib/jvm/java-6-sun-1.6.0.26/jre
java.io.tmpdir  /tmp
java.library.path       
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.runtime.name       Java(TM) SE Runtime Environment
java.runtime.version    1.6.0_26-b03
java.specification.name Java Platform API Specification
java.specification.vendor       Sun Microsystems Inc.
java.specification.version      1.6
java.vendor     Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug     http://java.sun.com/cgi-bin/bugreport.cgi
java.version    1.6.0_26
java.vm.info    mixed mode
java.vm.name    Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name      Java Virtual Machine Specification
java.vm.specification.vendor    Sun Microsystems Inc.
java.vm.specification.version   1.0
java.vm.vendor  Sun Microsystems Inc.
java.vm.version 20.1-b02
javamelody.analytics-id UA-1335263-7
javamelody.http-transform-pattern       
/\d+/|/site/.+|avadoc/.+|/ws/.+|obertura/.+|estReport/.+|iolations/file/.+|/user/.+|/static/\w+/
javamelody.no-database  true
javamelody.storage-directory    //var/lib/jenkins/monitoring
javamelody.system-actions-enabled       true
jna.platform.library.path       /usr/lib64:/lib64:/usr/lib:/lib
line.separator  
os.arch amd64
os.name Linux
os.version      2.6.32-37-server
path.separator  :
pid     21367
sun.arch.data.model     64
sun.boot.class.path     
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/classes
sun.boot.library.path   /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64
sun.cpu.endian  little
sun.cpu.isalist 
sun.io.unicode.encoding UnicodeLittle
sun.java.command        /usr/share/jenkins/jenkins.war 
--webroot=/var/run/jenkins/war --httpPort=8081 --ajp13Port=-1
sun.java.launcher       SUN_STANDARD
sun.jnu.encoding        UTF-8
sun.management.compiler HotSpot 64-Bit Tiered Compilers
sun.os.patch.level      unknown
svnkit.http.methods     Digest,Basic,NTLM,Negotiate
svnkit.ssh2.persistent  false
user.country    US
user.dir        /
user.home       /var/lib/jenkins
user.language   en
user.name       jenkins
user.timezone   Europe/Berlin
            Reporter: ctrabold
            Assignee: domi


After upgrading Jenkins to Scriptler 2.0 on Jenkins 1.450 calling "cc.xml" 
throws an 500 error:

  https://gist.github.com/1817603

The error appears when calling the URL as an *anonymous user* having READ 
permissions on "Overall" and "Job".

So I think it is somehow related with 
https://github.com/jenkinsci/scriptler-plugin/pull/2


Downgrading to Scriptler 1.5 fixed the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to