我们如何根据员工指定来修复应用程序的访问部分 [英] How we can fix the access part for an application according employee designation

查看:43
本文介绍了我们如何根据员工指定来修复应用程序的访问部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在开发一个电子商务网站.我想修复根据员工指定访问管理面板的问题.例如,我想为管理员提供角色和职责,经理管理产品的所有功能,对于其他员工,则仅上载产品.为此,我为产品目录创建了一个母版页.任何人都可以指导我如何开发这些东西.

Hi All,

I am a developing a website for e-commerce. I want to for fix the admin panel accessing according to employee designation. For example, i want to provide the all facility for admin with crating a role and responsibility, for manager managing product, For other employee only upload the product. For this i am a creating a single master page for Product catalog. Any one guide me how we can developed this things.

推荐答案

您要问的是如何使用角色和成员身份来保护网站的一部分.在此处浏览一下 [
What you are asking about is how to use role and membership to secure a portion of a site. Have a look here[^] to get an understanding of how to use role management.

The keywords you look for on Google are RoleProvider and MembershipProvider.


好友,

使用会员资格,请访问以下提到的链接.可能会有所帮助.

Hi Buddy,

Use membership , visit on this below mentioned link. May be help full.

Click hear[^]


要实现此目的,您需要创建用户表,权限表和角色表,以便根据权限将每个角色分配给该用户.用户将拥有所有用户的详细信息,并且将有另一个表UserRole,该表将具有分配给每个用户的角色.除此之外,您还需要具有用户权限表.
To Implement this you need to create user , permission and role tables so that each role is assigned to that user based on permission. User will have details of all users and there will be another table UserRole which will have role assigned to each user. apart from this you need to have User permission table Also.


这篇关于我们如何根据员工指定来修复应用程序的访问部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆