Co-authored-by: Michael Hoennig <michael@hoennig.de> Reviewed-on: #21 Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
41 lines
1.2 KiB
Markdown
41 lines
1.2 KiB
Markdown
### hs_office_bankaccount RBAC Roles
|
|
|
|
```mermaid
|
|
flowchart TB
|
|
|
|
subgraph global
|
|
style global fill: lightgray
|
|
|
|
role:global.admin[global.admin]
|
|
end
|
|
|
|
subgraph hsOfficeBankAccount
|
|
direction TB
|
|
style hsOfficeBankAccount fill: lightgreen
|
|
|
|
user:hsOfficeBankAccount.creator([bankAccount.creator])
|
|
|
|
role:hsOfficeBankAccount.owner[[bankAccount.owner]]
|
|
%% permissions
|
|
role:hsOfficeBankAccount.owner --> perm:hsOfficeBankAccount.*{{hsOfficeBankAccount.delete}}
|
|
%% incoming
|
|
role:global.admin --> role:hsOfficeBankAccount.owner
|
|
user:hsOfficeBankAccount.creator ---> role:hsOfficeBankAccount.owner
|
|
|
|
role:hsOfficeBankAccount.admin[[bankAccount.admin]]
|
|
%% incoming
|
|
role:hsOfficeBankAccount.owner ---> role:hsOfficeBankAccount.admin
|
|
|
|
role:hsOfficeBankAccount.tenant[[bankAccount.tenant]]
|
|
%% incoming
|
|
role:hsOfficeBankAccount.admin ---> role:hsOfficeBankAccount.tenant
|
|
|
|
role:hsOfficeBankAccount.guest[[bankAccount.guest]]
|
|
%% permissions
|
|
role:hsOfficeBankAccount.guest --> perm:hsOfficeBankAccount.view{{hsOfficeBankAccount.view}}
|
|
%% incoming
|
|
role:hsOfficeBankAccount.tenant ---> role:hsOfficeBankAccount.guest
|
|
end
|
|
```
|
|
|