1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-27 10:53:02 +00:00

Upload attachment models_permission.svg

Pierre-antoine Comby 2020-03-22 16:05:40 +01:00
parent 905bd4ac62
commit 9fed40a386

@ -0,0 +1,159 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.40.1 (20161225.0304)
-->
<!-- Title: model_graph Pages: 1 -->
<svg width="367pt" height="347pt"
viewBox="0.00 0.00 367.00 347.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 343)">
<title>model_graph</title>
<polygon fill="#ffffff" stroke="transparent" points="-4,4 -4,-343 363,-343 363,4 -4,4"/>
<!-- permission_models_PermissionMask -->
<g id="node1" class="node">
<title>permission_models_PermissionMask</title>
<polygon fill="#ffffff" stroke="transparent" points="8,-4 8,-66 198,-66 198,-4 8,-4"/>
<polygon fill="#1b563f" stroke="transparent" points="9,-44 9,-65 197,-65 197,-44 9,-44"/>
<text text-anchor="start" x="52.5" y="-53" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="62.5" y="-53" font-family="Roboto" font-weight="bold" font-size="10.00" fill="#ffffff"> &#160;&#160;&#160;PermissionMask &#160;&#160;&#160;</text>
<text text-anchor="start" x="11" y="-36.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="21" y="-36.6" font-family="Roboto" font-weight="bold" font-size="8.00" fill="#000000">id</text>
<text text-anchor="start" x="28" y="-36.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="78" y="-36.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="88" y="-36.6" font-family="Roboto" font-weight="bold" font-size="8.00" fill="#000000">AutoField</text>
<text text-anchor="start" x="124" y="-36.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="11" y="-23.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="21" y="-23.6" font-family="Roboto" font-size="8.00" fill="#000000">description</text>
<text text-anchor="start" x="64" y="-23.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="78" y="-23.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="88" y="-23.6" font-family="Roboto" font-size="8.00" fill="#000000">CharField</text>
<text text-anchor="start" x="124" y="-23.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="11" y="-10.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="21" y="-10.6" font-family="Roboto" font-size="8.00" fill="#000000">rank</text>
<text text-anchor="start" x="38" y="-10.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="78" y="-10.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="88" y="-10.6" font-family="Roboto" font-size="8.00" fill="#000000">PositiveSmallIntegerField</text>
<text text-anchor="start" x="185" y="-10.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<polygon fill="none" stroke="#000000" points="8,-4 8,-66 198,-66 198,-4 8,-4"/>
</g>
<!-- permission_models_Permission -->
<g id="node2" class="node">
<title>permission_models_Permission</title>
<polygon fill="#ffffff" stroke="transparent" points="113.5,-119 113.5,-233 264.5,-233 264.5,-119 113.5,-119"/>
<polygon fill="#1b563f" stroke="transparent" points="115,-211 115,-232 264,-232 264,-211 115,-211"/>
<text text-anchor="start" x="151" y="-220" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="161" y="-220" font-family="Roboto" font-weight="bold" font-size="10.00" fill="#ffffff"> &#160;&#160;&#160;Permission &#160;&#160;&#160;</text>
<text text-anchor="start" x="117" y="-203.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="127" y="-203.6" font-family="Roboto" font-weight="bold" font-size="8.00" fill="#000000">id</text>
<text text-anchor="start" x="134" y="-203.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="184" y="-203.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="194" y="-203.6" font-family="Roboto" font-weight="bold" font-size="8.00" fill="#000000">AutoField</text>
<text text-anchor="start" x="230" y="-203.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="117" y="-190.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="127" y="-190.6" font-family="Roboto" font-weight="bold" font-size="8.00" fill="#000000">mask</text>
<text text-anchor="start" x="149" y="-190.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="184" y="-190.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="194" y="-190.6" font-family="Roboto" font-weight="bold" font-size="8.00" fill="#000000">ForeignKey (id)</text>
<text text-anchor="start" x="252" y="-190.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="117" y="-177.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="127" y="-177.6" font-family="Roboto" font-weight="bold" font-size="8.00" fill="#000000">model</text>
<text text-anchor="start" x="151" y="-177.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="184" y="-177.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="194" y="-177.6" font-family="Roboto" font-weight="bold" font-size="8.00" fill="#000000">ForeignKey (id)</text>
<text text-anchor="start" x="252" y="-177.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="117" y="-164.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="127" y="-164.6" font-family="Roboto" font-size="8.00" fill="#7b7b7b">description</text>
<text text-anchor="start" x="170" y="-164.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="184" y="-164.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="194" y="-164.6" font-family="Roboto" font-size="8.00" fill="#7b7b7b">CharField</text>
<text text-anchor="start" x="230" y="-164.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="117" y="-151.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="127" y="-151.6" font-family="Roboto" font-size="8.00" fill="#7b7b7b">field</text>
<text text-anchor="start" x="143" y="-151.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="184" y="-151.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="194" y="-151.6" font-family="Roboto" font-size="8.00" fill="#7b7b7b">CharField</text>
<text text-anchor="start" x="230" y="-151.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="117" y="-138.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="127" y="-138.6" font-family="Roboto" font-size="8.00" fill="#000000">query</text>
<text text-anchor="start" x="148" y="-138.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="184" y="-138.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="194" y="-138.6" font-family="Roboto" font-size="8.00" fill="#000000">TextField</text>
<text text-anchor="start" x="229" y="-138.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="117" y="-125.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="127" y="-125.6" font-family="Roboto" font-size="8.00" fill="#000000">type</text>
<text text-anchor="start" x="143" y="-125.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="184" y="-125.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="194" y="-125.6" font-family="Roboto" font-size="8.00" fill="#000000">CharField</text>
<text text-anchor="start" x="230" y="-125.6" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<polygon fill="none" stroke="#000000" points="113.5,-119 113.5,-233 264.5,-233 264.5,-119 113.5,-119"/>
</g>
<!-- permission_models_Permission&#45;&gt;permission_models_PermissionMask -->
<g id="edge2" class="edge">
<title>permission_models_Permission&#45;&gt;permission_models_PermissionMask</title>
<path fill="none" stroke="#000000" d="M147.5964,-108.1173C139.5731,-94.9629 131.4757,-81.6869 124.4234,-70.1244"/>
<ellipse fill="#000000" stroke="#000000" cx="149.6964" cy="-111.5605" rx="4" ry="4"/>
<text text-anchor="middle" x="176" y="-90.6" font-family="Roboto" font-size="8.00" fill="#000000"> mask (permission)</text>
</g>
<!-- django_contrib_contenttypes_models_ContentType -->
<g id="node4" class="node">
<title>django_contrib_contenttypes_models_ContentType</title>
<polygon fill="#ffffff" stroke="transparent" points="232,-24.5 232,-45.5 318,-45.5 318,-24.5 232,-24.5"/>
<polygon fill="#1b563f" stroke="transparent" points="232,-24 232,-45 318,-45 318,-24 232,-24"/>
<text text-anchor="start" x="236" y="-32.4" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;</text>
<text text-anchor="start" x="241" y="-32.4" font-family="Roboto" font-size="12.00" fill="#ffffff">ContentType</text>
<text text-anchor="start" x="309" y="-32.4" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;</text>
</g>
<!-- permission_models_Permission&#45;&gt;django_contrib_contenttypes_models_ContentType -->
<g id="edge1" class="edge">
<title>permission_models_Permission&#45;&gt;django_contrib_contenttypes_models_ContentType</title>
<path fill="none" stroke="#000000" d="M230.3886,-108.1419C242.716,-87.9308 255.2202,-67.4297 263.841,-53.2955"/>
<ellipse fill="#000000" stroke="#000000" cx="228.3036" cy="-111.5605" rx="4" ry="4"/>
<text text-anchor="middle" x="261.5" y="-90.6" font-family="Roboto" font-size="8.00" fill="#000000"> model (+)</text>
</g>
<!-- permission_models_RolePermissions -->
<g id="node3" class="node">
<title>permission_models_RolePermissions</title>
<polygon fill="#ffffff" stroke="transparent" points="197.5,-286 197.5,-335 320.5,-335 320.5,-286 197.5,-286"/>
<polygon fill="#1b563f" stroke="transparent" points="199,-312.5 199,-333.5 320,-333.5 320,-312.5 199,-312.5"/>
<text text-anchor="start" x="209" y="-321.5" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="219" y="-321.5" font-family="Roboto" font-weight="bold" font-size="10.00" fill="#ffffff"> &#160;&#160;&#160;RolePermissions &#160;&#160;&#160;</text>
<text text-anchor="start" x="201" y="-305.1" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="211" y="-305.1" font-family="Roboto" font-weight="bold" font-size="8.00" fill="#000000">id</text>
<text text-anchor="start" x="218" y="-305.1" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="240" y="-305.1" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="250" y="-305.1" font-family="Roboto" font-weight="bold" font-size="8.00" fill="#000000">AutoField</text>
<text text-anchor="start" x="286" y="-305.1" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="201" y="-292.1" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="211" y="-292.1" font-family="Roboto" font-weight="bold" font-size="8.00" fill="#000000">role</text>
<text text-anchor="start" x="226" y="-292.1" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="240" y="-292.1" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<text text-anchor="start" x="250" y="-292.1" font-family="Roboto" font-weight="bold" font-size="8.00" fill="#000000">ForeignKey (id)</text>
<text text-anchor="start" x="308" y="-292.1" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;&#160;&#160;</text>
<polygon fill="none" stroke="#000000" points="197.5,-286 197.5,-335 320.5,-335 320.5,-286 197.5,-286"/>
</g>
<!-- permission_models_RolePermissions&#45;&gt;permission_models_Permission -->
<g id="edge4" class="edge">
<title>permission_models_RolePermissions&#45;&gt;permission_models_Permission</title>
<path fill="none" stroke="#000000" d="M198.5737,-275.9803C195.2523,-272.3068 192.3281,-268.317 190,-264 186.8895,-258.2321 184.7932,-251.9268 183.4585,-245.426"/>
<ellipse fill="#000000" stroke="#000000" cx="201.6642" cy="-279.0479" rx="4" ry="4"/>
<ellipse fill="#000000" stroke="#000000" cx="182.7754" cy="-241.0647" rx="4" ry="4"/>
<text text-anchor="middle" x="249" y="-257.6" font-family="Roboto" font-size="8.00" fill="#000000"> permissions (rolepermissions)</text>
</g>
<!-- member_models_Role -->
<g id="node5" class="node">
<title>member_models_Role</title>
<polygon fill="#ffffff" stroke="transparent" points="309,-165.5 309,-186.5 351,-186.5 351,-165.5 309,-165.5"/>
<polygon fill="#1b563f" stroke="transparent" points="309,-165 309,-186 351,-186 351,-165 309,-165"/>
<text text-anchor="start" x="313" y="-173.4" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;</text>
<text text-anchor="start" x="318" y="-173.4" font-family="Roboto" font-size="12.00" fill="#ffffff">Role</text>
<text text-anchor="start" x="342" y="-173.4" font-family="Roboto" font-size="8.00" fill="#000000"> &#160;</text>
</g>
<!-- permission_models_RolePermissions&#45;&gt;member_models_Role -->
<g id="edge3" class="edge">
<title>permission_models_RolePermissions&#45;&gt;member_models_Role</title>
<path fill="none" stroke="#000000" d="M299.6519,-275.8047C302.7628,-272.0428 305.6142,-268.088 308,-264 320.7796,-242.1021 326.1864,-212.9416 328.4393,-194.3147"/>
<ellipse fill="#000000" stroke="#000000" cx="296.862" cy="-278.9506" rx="4" ry="4"/>
<text text-anchor="middle" x="327" y="-257.6" font-family="Roboto" font-size="8.00" fill="#000000"> role (+)</text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 15 KiB