fixes for partner permission grant model
This commit is contained in:
parent
b8cd633c5a
commit
28c873212d
@ -24,7 +24,7 @@ subgraph external[ ]
|
||||
role:otherRelatedPerson.admin[global.admin]
|
||||
end
|
||||
|
||||
subgraph hsOfficeRelationship
|
||||
subgraph hsOfficeRelationship[hsOfficeRelationship:PARTNER]
|
||||
direction TB
|
||||
style hsOfficeRelationship fill:#eee
|
||||
|
||||
@ -40,29 +40,30 @@ subgraph external[ ]
|
||||
end
|
||||
|
||||
subgraph internal[ ]
|
||||
style internal fill:#fff
|
||||
|
||||
subgraph hsOfficePartner
|
||||
style hsOfficePartner fill:#fff
|
||||
|
||||
perm:hsOfficePartner.*{{partner.*}}
|
||||
role:hsOfficeRelationship.owner --> perm:hsOfficePartner.*
|
||||
role:hsOfficeRelationship.owner ==> perm:hsOfficePartner.*
|
||||
|
||||
perm:hsOfficePartner.edit{{partner.edit}}
|
||||
role:hsOfficeRelationship.admin --> perm:hsOfficePartner.edit
|
||||
role:hsOfficeRelationship.admin ==> perm:hsOfficePartner.edit
|
||||
|
||||
perm:hsOfficePartner.view{{partner.view}}
|
||||
role:hsOfficeRelationship.tenant --> perm:hsOfficePartner.view
|
||||
role:hsOfficeRelationship.tenant ==> perm:hsOfficePartner.view
|
||||
end
|
||||
|
||||
subgraph hsOfficePartnerDetails
|
||||
direction TB
|
||||
style hsOfficePartnerDetails fill:#eee
|
||||
|
||||
perm:hsOfficePartnerDetails.*{{partnerDetails.*}}
|
||||
role:hsOfficeRelationship.owner --> perm:hsOfficePartnerDetails.*
|
||||
role:hsOfficeRelationship.owner ==> perm:hsOfficePartnerDetails.*
|
||||
|
||||
perm:hsOfficePartnerDetails.edit{{partnerDetails.edit}}
|
||||
role:hsOfficeRelationship.agent --> perm:hsOfficePartnerDetails.edit
|
||||
role:hsOfficeRelationship.agent ----> perm:hsOfficePartnerDetails.view
|
||||
role:hsOfficeRelationship.agent ==> perm:hsOfficePartnerDetails.edit
|
||||
role:hsOfficeRelationship.agent ==> perm:hsOfficePartnerDetails.view
|
||||
|
||||
perm:hsOfficePartnerDetails.view{{partnerDetails.view}}
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user