Link to dashboard is displayed to all users

Topics: General, Troubleshooting
Oct 1, 2012 at 5:12 PM

I've been searching the archives to find a way to eliminate the display of the link to the dashboard for authenticated users. I find this item in the issue tracker that includes code to prevent a link when no access exists. http://orchard.codeplex.com/workitem/18232

Working off 1.5.1 and I see this code is included in \Orchard\Core\Shapes\Views\User.cshtml

None the less, when logged on via a account that has no role assigned (that _should mean authenticated, right?). The Edit Roles screen has enabled only 'Add comment' and 'Access site front-end' enabled. I'm still seeing the Dashboard link and it still displays a page with the message 'Access Denied'.

I've created a new role with _no permissions_ enabled and get the same behavior.

 

Oct 1, 2012 at 7:14 PM

Because the custom theme is using the older actionLink code and over-writes the updated code.

Coordinator
Oct 2, 2012 at 2:28 AM

Override the template and test for that permission from there.