draft for debitor permission grant model (reduced)
This commit is contained in:
parent
a71a7b308f
commit
2bae7dee2f
@ -73,29 +73,26 @@ subgraph internal[ ]
|
|||||||
subgraph debitor
|
subgraph debitor
|
||||||
direction TB
|
direction TB
|
||||||
|
|
||||||
role:debitor.owner[[debitor.owner]]
|
role:debitorRelationship.owner[[debitor.owner]]
|
||||||
--> perm:debitor.*{{debitor.*}}
|
%% permissions
|
||||||
role:debitor.owner -.==.- role:debitorRelationship.owner
|
==> perm:debitor.*{{debitor.*}}
|
||||||
|
|
||||||
role:debitor.admin[[debitor.admin]]
|
role:debitorRelationship.admin[[debitor.admin]]
|
||||||
role:debitor.owner --> role:debitor.admin
|
%% permissions
|
||||||
--> perm:debitor.edit{{debitor.edit}}
|
==> perm:debitor.edit{{debitor.edit}}
|
||||||
role:debitor.admin -.==.- role:debitorRelationship.admin
|
%% incoming
|
||||||
role:debitor.admin ==> role:partnerRelationship.agent
|
role:partnerRelationship.admin ==> role:debitorRelationship.admin
|
||||||
|
%% outgoing
|
||||||
|
role:debitorRelationship.admin ==> role:partnerRelationship.agent
|
||||||
|
|
||||||
role:debitor.agent[[debitor.agent]]
|
role:debitorRelationship.agent[[debitor.agent]]
|
||||||
role:debitor.admin --> role:debitor.agent
|
%% incoming
|
||||||
role:debitor.agent -.==.- role:debitorRelationship.agent
|
role:partnerRelationship.agent ==> role:debitorRelationship.agent
|
||||||
role:debitor.agent ==> role:partnerRelationship.tenant
|
%% outgoing
|
||||||
|
role:debitorRelationship.agent ==> role:partnerRelationship.tenant
|
||||||
role:debitor.tenant[[debitor.tenant]]
|
|
||||||
--> perm:debitor.view{{debitor.view}}
|
|
||||||
role:debitor.agent --> role:debitor.tenant
|
|
||||||
role:debitor.tenant -.==.- role:debitorRelationship.tenant
|
|
||||||
|
|
||||||
role:partnerRelationship.admin ==> role:debitor.admin
|
|
||||||
role:partnerRelationship.agent ==> role:debitor.agent
|
|
||||||
|
|
||||||
|
role:debitorRelationship.tenant[[debitor.tenant]]
|
||||||
|
==> perm:debitor.view{{debitor.view}}
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user