better layout for RBAC entity diagram
This commit is contained in:
parent
16513f0786
commit
4814e7899c
12
sql/rbac.md
12
sql/rbac.md
@ -30,13 +30,12 @@ package RBAC {
|
||||
|
||||
' forward declarations
|
||||
entity RbacUser
|
||||
entity RbacObject
|
||||
|
||||
together {
|
||||
|
||||
entity RbacRole
|
||||
entity RbacPermission
|
||||
enum RbacOperation
|
||||
|
||||
|
||||
RbacUser -[hidden]> RbacRole
|
||||
RbacRole -[hidden]> RbacUser
|
||||
@ -54,8 +53,8 @@ package RBAC {
|
||||
descendantUuid: uuid(RbackReference)
|
||||
auto
|
||||
}
|
||||
RbacGrant o-> RbacReference
|
||||
RbacGrant o-> RbacReference
|
||||
RbacGrant o-u-> RbacReference
|
||||
RbacGrant o-u-> RbacReference
|
||||
|
||||
enum RbacReferenceType {
|
||||
RbacUser
|
||||
@ -86,6 +85,11 @@ package RBAC {
|
||||
}
|
||||
RbacRole o-- RbacReference
|
||||
|
||||
together {
|
||||
enum RbacOperation
|
||||
entity RbacObject
|
||||
}
|
||||
|
||||
entity RbacPermission {
|
||||
*uuid : uuid(RbacReference)
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user