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.
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.
aheathershaw
added this to the Version 2.2.0-beta.2 milestone 2019-09-01 14:32:33 +01:00
aheathershaw
self-assigned this 2019-09-01 14:32:33 +01:00
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')`
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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')