User profile link is not available when not logged in #134
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: aheathershaw/blue-twilight#134
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The link to a user's public profile page (beneath an album) is not available to anonymous users, even if the user has enabled their profile page.
The page can be accessed directly.
This is due to the use of "can" in the view, which doesn't run any checks when no user is logged in.
By contract, the statistics page does the following, which accounts for our pseudo-anonymous user:
\App\User::currentOrAnonymous()->can('statistics.public-access')