Hide admin menu items when no access

Topics: Core, Customizing Orchard, Writing modules
Aug 17, 2012 at 7:05 AM

Is it possible to hide admin menu items if people cannot access them?

I tried adding '.Permission()' to all items but they still show.

Aug 17, 2012 at 7:56 AM

I'm rather sure it worked before (as it would hide items I dont have access too) so the Q remains: Did I break it or was it broken in Orchard 1.5? :)

Anyone can give me a pointer on where in the code this permission check is/should be handled so I can check?

Aug 20, 2012 at 3:51 PM

Any feedback on this please? I _know_ in older versions it would hide admin menu items if the user didn't have the correct permission, but now all items are shown :/

Aug 21, 2012 at 9:13 AM

Anyone? :/

Aug 22, 2012 at 3:09 AM

I'm also interested.

Aug 22, 2012 at 4:23 AM

If that's a regression, please file a bug.

Aug 22, 2012 at 8:25 AM

See also: http://orchard.codeplex.com/workitem/18861

Aug 24, 2012 at 6:32 AM

Thanks for that jazpur :)