[ 
https://issues.jenkins-ci.org/browse/JENKINS-3575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159488#comment-159488
 ] 

Yann PETIT commented on JENKINS-3575:
-------------------------------------

A simple way to avoid that is to change or remove content from the file : 
{JENKINS_HOME}/plugins/ci-game/WEB-INF/classes/hudson/plugins/cigame/UserScoreProperty/config.jelly

1°) Backup the file : cp config.jelly config.jelly.bak
2°) Edit the file :   nano config.jelly
3°) Reload configuration from file under Jenkins.
4°) Open your user profile and fields should have gone.

For example this is what I use :
{quote}
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" 
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
    <f:entry title="$\{%User.CurentScore\}">
        <f:textbox value="$\{instance.score\}" disabled="disabled" 
readonly="readonly" />
    </f:entry>
</j:jelly>
{quote}

This dissalows people to change their participation in the game, but allow them 
to see the current score.

This is not a perfect solution but it can discourage the cheaters.
                
> authenticated users can modify their own scores
> -----------------------------------------------
>
>                 Key: JENKINS-3575
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-3575
>             Project: Jenkins
>          Issue Type: Bug
>          Components: ci-game
>    Affects Versions: current
>         Environment: Platform: All, OS: Windows 2000
>            Reporter: pathsny
>            Assignee: redsolo
>
> In the CI game at the moment users seem to be able to modify their own scores 
> on
> the CI game. If it makes any difference, at the moment users here authenticate
> using the active directory plugin.

--
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