-
Notifications
You must be signed in to change notification settings - Fork 0
/
authority_control.drawio
1 lines (1 loc) · 4.39 KB
/
authority_control.drawio
1
<mxfile host="drawio-plugin" modified="2023-09-11T10:02:08.564Z" agent="5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.45 Safari/537.36" etag="rchualKxybKoTlsOOJmS" version="15.5.4" type="embed"><diagram id="23iRSUPoRavnBvh4doch" name="Page-1"><mxGraphModel dx="595" dy="422" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="2" value="获取用户信息<br>1.路由权限<br>2.资源权限" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"><mxGeometry x="340" y="10" width="120" height="60" as="geometry"/></mxCell><mxCell id="3" value="根据用户权限与本地路由表,对照生成.<br>1.动态路由表<br>2.动态菜单" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"><mxGeometry x="340" y="160" width="120" height="60" as="geometry"/></mxCell><mxCell id="4" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="2" target="3" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="390" y="200" as="sourcePoint"/><mxPoint x="440" y="150" as="targetPoint"/></mxGeometry></mxCell><mxCell id="5" value="封装资源组件,主要接收展示视图(吞吐视图)。组件内部根据资源权限判断是否显示该视图" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"><mxGeometry x="340" y="320" width="120" height="80" as="geometry"/></mxCell><mxCell id="6" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="3" target="5" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="390" y="180" as="sourcePoint"/><mxPoint x="440" y="130" as="targetPoint"/></mxGeometry></mxCell><mxCell id="8" value="" style="endArrow=none;dashed=1;html=1;rounded=0;" parent="1" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="80" y="120" as="sourcePoint"/><mxPoint x="720" y="120" as="targetPoint"/></mxGeometry></mxCell><mxCell id="9" value="" style="endArrow=none;dashed=1;html=1;rounded=0;" parent="1" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="80" y="280" as="sourcePoint"/><mxPoint x="720" y="280" as="targetPoint"/></mxGeometry></mxCell><mxCell id="10" value="" style="endArrow=none;dashed=1;html=1;rounded=0;" parent="1" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="80" y="440" as="sourcePoint"/><mxPoint x="690" y="440" as="targetPoint"/></mxGeometry></mxCell><mxCell id="13" value="页面级别权限控制" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="80" y="190" width="60" height="30" as="geometry"/></mxCell><mxCell id="14" value="按钮级别<br>权限控制" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="80" y="355" width="60" height="30" as="geometry"/></mxCell><mxCell id="15" value="封装请求库,利用拦截器根据资源权限对请求进行拦截(利用中间件进行拦截)" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"><mxGeometry x="340" y="500" width="120" height="60" as="geometry"/></mxCell><mxCell id="16" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="5" target="15" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="420" y="280" as="sourcePoint"/><mxPoint x="470" y="230" as="targetPoint"/></mxGeometry></mxCell><mxCell id="17" value="请求权限控制" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="80" y="515" width="60" height="30" as="geometry"/></mxCell><mxCell id="18" value="获取用户权限信息" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="80" y="40" width="60" height="30" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>