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

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

问题描述

下面是一个软件设计的问题我遇到好几次,从来没有发现一个理想的解决方案(我还用它对付现在试。)

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天全站免登陆