Closed (works as designed)
Project:
MySite
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2009 at 13:11 UTC
Updated:
1 Feb 2009 at 21:56 UTC
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 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.