Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Show Context Menu for all users

Vote:
 

Hi,

I am trying to show the EPiServer right click menu for all users. However setting the page.ContextMenu.IsMenuEnabled to true does not seem to be enough. Is there a way to accomplish this? I don´t want all users to have access to edit mode, just the context menu, could this be done? Any suggestions?

#62540
Oct 29, 2012 9:28
Vote:
 

Just setting IsMenuEnabled to true is not enough. There are more access checks done so the right options are created depending on the current user accessrights.

I guess you could do your own contextmenu control and replace the default one on your page templates.

If you don't have reflector I recommend you download it so you can check out how the contextmenu works.

 

 

#62553
Oct 29, 2012 10:56
Vote:
 

Thanks for the reply!

The issue I was having was actually caused by adding custom items to the menu without the proper access rights.

Using EPiServer.Security.AccessLevel.NoAccess when adding the items solved the problem for me.

#62556
Oct 29, 2012 12:22
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.