Jenkins允许通过使用UI授予成员(用户和组) Run.Replay (运行→重放)权限:

不幸的是,Run.Replay权限没有在hudson.model.Run类中定义。所有其他权限都可用:
Delete→Run.DELETEUpdate→Run.UPDATE在哪里定义了hudson.security.Permission对象,它表示Run.Replay权限?
发布于 2020-01-09 13:59:52
这个权限是由管道: Groovy插件引入的。它在org.jenkinsci.plugins.workflow.cps.replay.ReplayAction类中定义:
/**
* Attached to a {@link Run} when it could be replayed with script edits.
*/
@SuppressWarnings("rawtypes") // on Run
public class ReplayAction implements Action {
[...]
public static final Permission REPLAY = new Permission(Run.PERMISSIONS, "Replay", Messages._Replay_permission_description(), Item.CONFIGURE, PermissionScope.RUN);https://stackoverflow.com/questions/59665635
复制相似问题