asp.net mvc 4 - How can i hide node of this menu from particular user? -


i have mvc web application , use telerik panel bar , tree view component , create own menu .its panel bar , tree view tree view bind site map. want menu each user show particular of node example admin access nodes , user low access access particular nodes, can see user role. see mvcsitemapproviderr can not document , don't know propose !i think can create sitemap dynamically controller don't know how can , true ?i have 5 or 6 role in application . suggestion me good? or introduce me new way if above not thanks. have restrict access each node of panel bar , tree-view .

this menu

you can mvcsitemapprovider.

if want control visibility, can build own isitemapnodevisibilityprovider.

on other hand, sounds more trying block access nodes depending on whether user has permission. if using authorizeattribute control access controller acctions, need enable security trimming , free.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -