Revert "Check the permission to make sure the user has basic rights."

It's not enough to check whether the user has read permission;
we need to actively check that a user is logged in (i.e. not anonymous).

This reverts commit 67847d1a8b66777e8b3667568650a0dee7273eed.