Fix user rights check to display the "revert" link on file histories.