在系统上为每个用户应用特权 [英] Applying Privilages on the System For each User

查看:72
本文介绍了在系统上为每个用户应用特权的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们
我已经完成我的系统,现在我必须在定义系统特权之后定义一个特权以授予系统用户,并且(我将其定义为以下用于保留所有系统特权的make表,以及另一个用于维护系统特权的表.保留系统的用户以及这两个表之间的桥表,以保留哪个用户拥有哪个特权(多对多关系))
但是现在的问题是我如何在系统上应用特定用户的特权
(我希望他不能到达他无权访问的Windows窗体)
有人可以帮我做..吗?
谢谢高级

hi , guys
i have finished my system and for now i have to define Some Privilege to be given to the users of the system after i defined the privilege of the system and (I defined it as the following make table for holding all system privileges and another table for holding users of the system and a bridge table between these two tables to hold which user has which privilege (Many to Many Relation ship) )
but the problem now is how i apply the privilege of specific user on my system
(I want him to can not reach to the Windows form that he is not authorized to reach it)
can any one help me in doing that ..?
thanks in advanced

推荐答案

最简单的事情是不允许他甚至看到选择他不应该看到的表格的选项.这意味着您必须根据用户的角色来构建显示/隐藏导航组件.除了这个一般性的描述,在您有一个特定的问题之前,很难为您提供帮助.
The easiest thing to do is to not allow him to even see the option to get to forms he''s not supposed to see. This means you have to build your show/hide navigation components based on the user''s role. Beyond this generic description, it would be difficult to help you until you have a specific question.


这篇关于在系统上为每个用户应用特权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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