hs.hsadmin.ng/doc/temp/membership-select.md
2024-03-25 08:36:42 +01:00

3.9 KiB

all grants to membership-select

%%{init:{'flowchart':{'htmlLabels':false}}}%%

%% too many grants, graph is cropped
flowchart TB

subgraph global#global[global#global]

    role:global#global.admin[admin
    ref:d1900267-5848-4bed-851b-70bde78ea586]

end

subgraph hs_office_person#HostsharingeG[hs_office_person#HostsharingeG]

    role:hs_office_person#HostsharingeG.admin[admin
    ref:a4be908f-202f-412a-b25d-8bf42082ef86]

    role:hs_office_person#HostsharingeG.owner[owner
    ref:2032c07b-0227-4eb2-bcbf-8c417ef673c1]

end

subgraph hs_office_relation#HostsharingeG-with-PARTNER-ThirdOHG[hs_office_relation#HostsharingeG-with-PARTNER-ThirdOHG]

    role:hs_office_relation#HostsharingeG-with-PARTNER-ThirdOHG.admin[admin
    ref:aa6dc584-7e50-4f9e-85ff-23792683802f]

    role:hs_office_relation#HostsharingeG-with-PARTNER-ThirdOHG.agent[agent
    ref:a8688860-53c3-45ff-92ce-9442d28d9196]

    role:hs_office_relation#HostsharingeG-with-PARTNER-ThirdOHG.owner[owner
    ref:d0fb0a29-f7f0-48f9-82be-151c4ea3f4ec]

end

subgraph hs_office_person#ThirdOHG[hs_office_person#ThirdOHG]

    role:hs_office_person#ThirdOHG.admin[admin
    ref:c8b186f5-17d0-460e-aa39-cca1f5f8404d]

    role:hs_office_person#ThirdOHG.owner[owner
    ref:a0ed218b-a0cf-417d-8f82-73eae57e67f8]

end

subgraph users[users]

    user:person-HostsharingeG(person-HostsharingeG@example.com
    ref:cc50ddc1-a722-47d7-984f-3094877e4496)

    user:person-ThirdOHG(person-ThirdOHG@example.com
    ref:494c39a5-b410-4578-8d69-d026493c6731)

    user:superuser-alex(superuser-alex@hostsharing.net
    ref:a580e215-2243-4c7e-a9e3-169b237b86b4)

    user:superuser-fran(superuser-fran@hostsharing.net
    ref:ce6958ec-5e7a-4209-95b2-346c2eaaa22c)

end

subgraph hs_office_membership#M-1000303[hs_office_membership#M-1000303]

    perm:SELECT:on:hs_office_membership#M-1000303{{SELECT
    ref:a1eb00eb-3f0f-471c-bf97-ce415e6991ab}}

    role:hs_office_membership#M-1000303.admin[admin
    ref:a7eece29-79d1-4d41-beb8-2900b899e087]

    role:hs_office_membership#M-1000303.owner[owner
    ref:8eee38e9-7bb2-4ad7-b427-3999e1c66fd1]

    role:hs_office_membership#M-1000303.referrer[referrer
    ref:49506b45-aa23-495e-8938-e54b635691ae]

end

role:global#global.admin --> role:hs_office_person#HostsharingeG.owner
role:global#global.admin --> role:hs_office_person#ThirdOHG.owner
role:global#global.admin --> role:hs_office_relation#HostsharingeG-with-PARTNER-ThirdOHG.owner
role:hs_office_membership#M-1000303.admin --> role:hs_office_membership#M-1000303.referrer
role:hs_office_membership#M-1000303.owner --> role:hs_office_membership#M-1000303.admin
role:hs_office_membership#M-1000303.referrer --> perm:SELECT:on:hs_office_membership#M-1000303
role:hs_office_person#HostsharingeG.admin --> role:hs_office_relation#HostsharingeG-with-PARTNER-ThirdOHG.admin
role:hs_office_person#HostsharingeG.owner --> role:hs_office_person#HostsharingeG.admin
role:hs_office_person#ThirdOHG.admin --> role:hs_office_relation#HostsharingeG-with-PARTNER-ThirdOHG.agent
role:hs_office_person#ThirdOHG.owner --> role:hs_office_person#ThirdOHG.admin
role:hs_office_relation#HostsharingeG-with-PARTNER-ThirdOHG.admin --> role:hs_office_membership#M-1000303.owner
role:hs_office_relation#HostsharingeG-with-PARTNER-ThirdOHG.admin --> role:hs_office_relation#HostsharingeG-with-PARTNER-ThirdOHG.agent
role:hs_office_relation#HostsharingeG-with-PARTNER-ThirdOHG.agent --> role:hs_office_membership#M-1000303.admin
role:hs_office_relation#HostsharingeG-with-PARTNER-ThirdOHG.owner --> role:hs_office_relation#HostsharingeG-with-PARTNER-ThirdOHG.admin
user:person-HostsharingeG --> role:hs_office_person#HostsharingeG.owner
user:person-ThirdOHG --> role:hs_office_person#ThirdOHG.owner
user:superuser-alex --> role:global#global.admin
user:superuser-alex --> role:hs_office_membership#M-1000303.owner
user:superuser-alex --> role:hs_office_relation#HostsharingeG-with-PARTNER-ThirdOHG.owner
user:superuser-fran --> role:global#global.admin