Fixed issue with permissions for viweing history