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

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

问题描述

这里有一个软件设计问题,我遇到过几次,但一直没有找到理想的解决方案(我现在也在处理它.)

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