admin为员工分配了菜单权限 [英] admin assigned Menu Privileges for the employees
问题描述
我在asp.net c#中创建一个Web应用程序。
该项目用于将任务分配给系统中的不同员工。与他们相对应的权限是员工。
页面如下:
previleges.aspx
准备完成冻结
admin为不同的员工分配权限。
喜欢:
员工
准备是/否
完成是/否
冻结是/否
employee1
preperation yes
完成否
冻结否
employee2
preperation yes
完成是
冻结否
提交。由管理员
然后employee1登录他有权访问preperation选项卡
然后employee2已登录在他有权访问preperation,仅限完成选项卡。
注意[在管理员分配表数据的是/否权限的帮助下]
请浏览此链接
如何到指定用户,角色,和权限至A-的LightSwitch -html-mobile-client.aspx [ ^ ]
根据用户权限从数据库生成菜单 [ ^ ]
system.web.sitemapprovider.aspx [ ^ ]
这是另一个值得关注的好消息。
http://www.theobjectguy.com/RoleBasedSecurity/
I am creating a web application in asp.net c#.
The project is for assigning tasks to different employees in the system. the privileges corresponding to them are employee.
Page is like:
previleges.aspx
preperation completion freeze
The "admin" assigns the privileges to the different employees .
like:
employee
preperation yes/no
completion yes/no
freeze yes/no
employee1
preperation yes
completion no
freeze no
employee2
preperation yes
completion yes
freeze no
submit. by the admin
then employee1 logged in he has rights to access preperation tab only
then employee2 logged in he has rights to access preperation,completion tab only.
Note[with the help of admin assigning Yes/No permissions from the table data]
Please go through this links
how-to-assign-users-roles-and-permissions-to-a-lightswitch-html-mobile-client.aspx[^]
Generating menu from database according to user privilege[^]
system.web.sitemapprovider.aspx[^]
Here's another good one to look at.
http://www.theobjectguy.com/RoleBasedSecurity/
这篇关于admin为员工分配了菜单权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!