What is the best way to visualize a “resolution matrix” in a UML class diagram?

For simplicity:

There is a permission-based system with various types of user levels and actions (think: UNIX file system permissions)

What is the best approach to visualize this in UML?

+3
source share
2 answers

I usually have classes representing users, roles, and permissions. Users belong to Roles and Roles, which are allowed permissions. Permissions are required to access other objects. In UML, I assume that you will model the role as an abstract base class and have several different implementations, one for each role.

, , , , - (, ). . . , , .

+1

, , .

9 /, : (User, Group, Other) * (Read, Write, Execute). , , Sticky SetUID.

. .

.

. , , , . 9 .

, , . . - , (, ), (, ).

, , ( Unix , ..) (Unix , , ), : .

, .

0

Source: https://habr.com/ru/post/1698714/


All Articles