开发者

Setting role in SiteMapNode Sub Node

开发者 https://www.devze.com 2023-04-07 18:44 出处:网络
These Site Map Node is in Web.Config <siteMapNode title=\"Hotel Setup\" roles=\"Administrator,Hotel Admin\">

These Site Map Node is in Web.Config

<siteMapNode title="Hotel Setup" roles="Administrator,Hotel Admin">
  <siteMapNode url="~/Page/HotelSetup/RoomTypeManagement.aspx" title="Room Types" />
  <siteMapNode开发者_运维百科 url="~/Page/HotelSetup/AddOns/AddOnCategoryProperties.aspx" title="Add On Categories" />
  <siteMapNode url="~/Page/HotelSetup/AddOn.aspx" title="Add Ons" />
  <siteMapNode url="~/Page/HotelSetup/Package.aspx" title="Packages" />     
  <siteMapNode url="~/Page/PriceTools/Promotion.aspx" title="Promotions" />
  <siteMapNode url="~/Page/PriceTools/PromotionAddOn.aspx" title="AddOns Incentive" />
  <siteMapNode url="~/Page/SupportAdmin/TranslationProperty.aspx" title="Translations" />
</siteMapNode>

Is there anyway to made some sub sitemapnode in hotel setup can be accessed only by administrator but not hotel admin ?


Problem solved, it need to be set in location path

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号