Issue
A role/group is granted Job/Move on a job’s current controller so that the Move/Copy/Promote link becomes visible on that job’s page, but attempting to actually copy the job to another controller still fails with an access-denied error.
The error reported in the UI reads (abbreviated from the screenshot captured during investigation):
... is missing the Job/Configure permission
This is unexpected because Job/Configure was only ever granted, or assumed to be needed, on the destination controller, not on the controller the job is being copied from.
This happens when a role/group has:
-
Job/CreateandJob/Configureon the destination controller (enough to create/configure new jobs there), and -
Only
Job/Moveon the source controller (enough to make the Move/Copy/Promote link appear on a job’s page, but not enough to complete the Copy action).
Explanation
The Move/Copy/Promote Copy action is checked against the item on its source controller, the controller the job is being copied from, not just the destination. This was confirmed by isolating each permission independently in a lab reproduction of the reported configuration:
-
Job/Moveonly, noJob/Configure, on the source → the Move/Copy/Promote link appears on the job’s page, but the Copy action itself fails with the error above. -
Job/Configureadded alongsideJob/Moveon the source → the Copy action succeeds.
In Cloudbees CI RBAC, Job/Configure (hudson.model.Item.CONFIGURE) is a single permission that governs both editing a job’s configuration directly and using that job as a Move/Copy/Promote source.
The feature does not expose a separate, narrower "copy-only" permission, so granting enough access to copy a job out of a controller also grants the ability to edit that job’s configuration directly on that same controller.
Role definitions edited on operations center propagate down to the RBAC cache of every connected controller that uses the same role, so a permission added to an existing role on operations center takes effect on connected controllers without editing each controller’s local RBAC configuration individually.
Resolution
-
Grant
Job/Moveon the controller the job currently resides on (the source) to make the Move/Copy/Promote link appear. -
Also grant
Job/Configureon that same source controller — not only on the destination — to allow the Copy action itself to complete.
Both permissions can be added to an existing role on operations center if the role/group that needs copy access is already managed from operations center and inherited by the connected controllers.
Job/Configure also allows directly editing a job’s configuration.
Granting it broadly, for example on an operations center-wide role used by many developers, gives every member of that role edit access to every job covered by it on the source controller, not just the ability to copy from it.
|
Limit the grant to a specific folder instead of the whole controller
To avoid granting Job/Configure controller-wide, scope the grant to only the folder containing the job(s) that need to be copyable:
-
On the source controller, navigate to the specific folder containing the job(s) to make copyable, not the Jenkins root.
-
From within that folder, go to and create a local group, for example
JenkinsCopySource. -
Grant the new group a role that includes at minimum
Overall/Read,Job/Read,Job/Move, andJob/Configure. -
Nest the group or AD group that should have copy rights as a member of this new local group.
| This grant propagates to all child jobs and subfolders of whichever folder it’s scoped to. Pick the narrowest folder that contains only the job(s) that need to be copyable. |
References
-
Cloudbees CI - Restrict access and delegate administration with Role-Based Access Control
-
Cloudbees CI - Example Role-Based Access Control (RBAC) permission configurations
-
Operations Center doesn’t propagate RBAC roles and groups to controllers
-
My AD/LDAP group is not found after adding it to a RBAC group