问题描述
这是我几次遇到的软件设计问题,从未找到理想的解决方案(我现在也再次处理.)
许多应用程序需要某种形式的用户/角色管理.您有基本用户,这些用户可以属于(不仅限于一个)的组,他们拥有的角色和权限,组织单位以及一堆特定于项目的属性和其他功能.
我的问题是,人们了解和/或具有设计和构建真正动态,灵活的用户管理系统的经验如何?您知道有什么设计模式吗?
推荐答案
您应该调整设计,因为每个组织都是不同的. 检查此页面,您可以看到基于角色的管理模式.
其他推荐答案
不确定它是否会为您提供帮助,但是如果您有机会,则应在ASP.NET中查看内置功能.您至少可以从那里得到一些指示.
其他推荐答案
数据模型资源资源书,卷. 1 :所有企业的通用数据模型库可能会有所帮助.
问题描述
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.
其他推荐答案
Not sure if it will help you, but if you have the opportunity you should check out the built in functionality in ASP.NET . You could get some pointers, at least, from there.
其他推荐答案
Chapter 2 of The Data Model Resource Book, Vol. 1: A Library of Universal Data Models for All Enterprises might be helpful.