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.

CommentFileSizeAuthor
mysite_menu.patch580 byteselectricmonk
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

agentrickard’s picture

Status: Needs review » Closed (works as designed)

This 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.

electricmonk’s picture

Right, 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...

agentrickard’s picture

Not 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.