better layout for RBAC entity diagram

This commit is contained in:
Michael Hoennig 2022-07-25 17:15:01 +02:00
parent 16513f0786
commit 4814e7899c

View File

@ -30,13 +30,12 @@ package RBAC {
' forward declarations ' forward declarations
entity RbacUser entity RbacUser
entity RbacObject
together { together {
entity RbacRole entity RbacRole
entity RbacPermission entity RbacPermission
enum RbacOperation
RbacUser -[hidden]> RbacRole RbacUser -[hidden]> RbacRole
RbacRole -[hidden]> RbacUser RbacRole -[hidden]> RbacUser
@ -54,8 +53,8 @@ package RBAC {
descendantUuid: uuid(RbackReference) descendantUuid: uuid(RbackReference)
auto auto
} }
RbacGrant o-> RbacReference RbacGrant o-u-> RbacReference
RbacGrant o-> RbacReference RbacGrant o-u-> RbacReference
enum RbacReferenceType { enum RbacReferenceType {
RbacUser RbacUser
@ -86,6 +85,11 @@ package RBAC {
} }
RbacRole o-- RbacReference RbacRole o-- RbacReference
together {
enum RbacOperation
entity RbacObject
}
entity RbacPermission { entity RbacPermission {
*uuid : uuid(RbacReference) *uuid : uuid(RbacReference)
-- --