- 
    Type:Bug Report 
- 
    Resolution: Fixed
- 
    Priority:L3 - Default 
- 
    Affects Version/s: 7.8.0-alpha3, 7.8.0-alpha4
- 
    Component/s: engine
- 
    None
To execute HistoryService#cleanUpHistoryAsync() the authenticated user must have a DELETE_HISTORY permission on the PROCESS_DEFINITION resource. This does take into account, that the history clean up job also deletes decision instances (and case instances).
AT:
- check only if the authenticated user is an admin user