Fix history actions permissions check
Merge pull request #2274 from EmmanuelVella/history-acl

Fix history actions permissions check