我正在开发一个跟踪假期的工具的项目,并且该应用程序的某些部分(报告管理),“用户”角色不应该看到。到目前为止,这没有问题,但不知何故,“用户”不应该看到的部分的表示看起来很糟糕:
应该在页面上看到某些内容的权限在 Web.sitemap 中进行控制
<siteMapNode title="Vacation" roles="Administrator,Location Business Leader,Business Leader,Department Leader" description="All employees with vacation" url="~/EmployeeView/UserVacationGrid.aspx" />
如果有人遇到同样的问题,您能否给我一些好的提示或解决方案如何解决这个问题,我将不胜感激!