Issue #1290734: Fixed usage of permissions that were not renamed after being transferred to file_entity.