scope permission to ITEM and COMPUTER
* scope permission to ITEM and COMPUTER
This allows to configure jobconfig history not only globally but also on item and agent level
* fix Permission call
@@ -66,7 +66,8 @@ public class JobConfigHistory extends Plugin {
Messages.JobConfigHistory_deleteEntryPermission(),
Messages._JobConfigHistory_deleteEntryPermissionDescription(),
Jenkins.ADMINISTER,
- PermissionScope.JENKINS);
+ true,
+ new PermissionScope[]{PermissionScope.ITEM, PermissionScope.COMPUTER});
/**
* our logger.
*/
