-
Bug
-
Resolution: Not A Defect
-
Major
-
None
I am running:
Jenkins 1.545
CAS plugin 1.1.1 for authentication
Role Strategy Plugin 2.1.0 for authorization
Priority Sorter plugin 2.5
(these are the latest available at the time of writing)
The only security granted to anonymous users is "overall - read" and "job - read". However, if an anonymous user views Jenkins, the link to the management function "Job Priorities" remains visible in the top left hand corner of the Jenkins main page, and can be clicked. You can then create / edit / delete job priority groups.
The function should only be available to administrations. I suspect that the Priority Sorter plugin simply does not check for authorisation.
- is related to
-
JENKINS-21352 Add Specific Permissions for managing priorities
-
- Open
-
I only just noticed an option on the main Jenkins configuration page "Only Admins can edit Job Priorities", which has associated help text "Check if only Administrators should be allowed to view and edit the Job Priorities".
Checking this option fixes the problem. However, the option description does not make it clear that leaving this unchecked (the default value!) means that anonymous users can change priority groups, as well as the priority on individual jobs.
It seems to me the default value is wrong for Jenkins installations where securtity is otherwise enabled.