This project is read-only.

Admin menu access levels

Topics: Customizing Orchard
Jun 19, 2012 at 6:22 AM

I've added 3 html widgets to my homepage to display in the tripel zones which I want the site administrator to have edit permissions on. I don't want them to be able to access the rest of the manage widget page.

Using the vandelay admin menu module I added the admin menu part to the HtmlWidget content type and then checked the Show on Admin menu option for the relevant widgets.

This shows the menu items but the user needs Manage Widget permission to be able to edit the widget which will also give them access to edit all widgets and layers.

I can alter the EditWidget methods in the Orchard.Widgets.Controllers.AdminController method to make it work but is there a better way to solve this problem?


Jun 21, 2012 at 5:18 AM