move Parter+Debitor person+contact to related Relationsship #20
@ -73,30 +73,27 @@ subgraph internal[ ]
|
||||
subgraph debitor
|
||||
direction TB
|
||||
|
||||
role:debitor.owner[[debitor.owner]]
|
||||
--> perm:debitor.*{{debitor.*}}
|
||||
role:debitor.owner -.==.- role:debitorRelationship.owner
|
||||
role:debitorRelationship.owner[[debitor.owner]]
|
||||
%% permissions
|
||||
==> perm:debitor.*{{debitor.*}}
|
||||
|
||||
role:debitor.admin[[debitor.admin]]
|
||||
role:debitor.owner --> role:debitor.admin
|
||||
--> perm:debitor.edit{{debitor.edit}}
|
||||
role:debitor.admin -.==.- role:debitorRelationship.admin
|
||||
role:debitor.admin ==> role:partnerRelationship.agent
|
||||
role:debitorRelationship.admin[[debitor.admin]]
|
||||
%% permissions
|
||||
==> perm:debitor.edit{{debitor.edit}}
|
||||
%% incoming
|
||||
role:partnerRelationship.admin ==> role:debitorRelationship.admin
|
||||
%% outgoing
|
||||
role:debitorRelationship.admin ==> role:partnerRelationship.agent
|
||||
|
||||
role:debitor.agent[[debitor.agent]]
|
||||
role:debitor.admin --> role:debitor.agent
|
||||
role:debitor.agent -.==.- role:debitorRelationship.agent
|
||||
role:debitor.agent ==> role:partnerRelationship.tenant
|
||||
role:debitorRelationship.agent[[debitor.agent]]
|
||||
%% incoming
|
||||
role:partnerRelationship.agent ==> role:debitorRelationship.agent
|
||||
%% 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:debitorRelationship.tenant[[debitor.tenant]]
|
||||
==> perm:debitor.view{{debitor.view}}
|
||||
|
||||
role:partnerRelationship.admin ==> role:debitor.admin
|
||||
role:partnerRelationship.agent ==> role:debitor.agent
|
||||
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user