Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In mysite_menu(), the permission for viewing the default user's (user id 0) mysite page is only given to users with the permission "administer mysite". This means that any menu item which points to mysite/0/view will be disabled for users without this permission, even though they can still view the actual page.
Attaching a patch which (I think) should sort this out.
Comment | File | Size | Author |
---|---|---|---|
mysite_menu.patch | 580 bytes | electricmonk |
Comments
Comment #1
agentrickardThis is by design. There is no 'anonymous' user MySite page. User 0 is used to store the default account, which is used to populate content for other users.
Comment #2
electricmonk CreditAttribution: electricmonk commentedRight, but currently, anonymous users are able to see the default (user 0's) mysite page, but do not have permissions to see its menu item...
Comment #3
agentrickardNot really following the issue here.
The 'default' MySite page that anon users see is a configurable value with its own menu item (see the demo site).
Normally, no one should be going to the page for user 0, they might be redirected there by the menu path for mysite/default.