用户/角色管理系统的最佳设计? [英] Best Design for a User/Role Management System?

查看:162
本文介绍了用户/角色管理系统的最佳设计?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个软件设计问题,我遇到过几次,从未找到一个理想的解决方案(我也在再次处理它)。



许多应用程序需要某种形式的用户/角色管理。您有基础用户,这些用户可能属于的组(不仅限于一个),他们拥有的角色和权限,组织单位以及特定项目的一系列属性和其他功能。

$ b我的问题是,人们知道和/或有哪些方式设计和构建一个真正动态,灵活的用户管理系统?有没有什么设计模式,你知道这真的有帮助?

解决方案

你应该适应你的设计,因为每个组织是不同的。
检查此页面,您可以看到基于角色的管理模式。


Here's a software design question I've encountered several times and have never found an ideal solution for (I'm also dealing with it now again.)

Many applications need some form of user/role management. You have base users, groups that these users can belong to (not limited to just one), roles and permissions they have, organizational units, and a whole bunch of properties and other features that are project-specific.

My question is, what ways do people know of and/or have experience with to design and build a really dynamic, flexible user management system? Are there any design patterns you know of that really help?

解决方案

You should adapt your design because every organization is different. Check this page, you can see a pattern for role-based administration.

这篇关于用户/角色管理系统的最佳设计?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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