Slide 1

Slide 1 text

アクセス権の見える化 中野晴幸 @harunakano

Slide 2

Slide 2 text

この人のアクセス権は?

Slide 3

Slide 3 text

有効なアクセス権

Slide 4

Slide 4 text

100人のアクセス権、調べて! (;o;)

Slide 5

Slide 5 text

グループをACLに追加

Slide 6

Slide 6 text

複雑になりがちな例

Slide 7

Slide 7 text

重複 DB1_Admin DB1_Reader

Slide 8

Slide 8 text

入れ子 DB1_GroupA DB1_TeamA DB1_TeamB

Slide 9

Slide 9 text

まずは表に落としてみた 見えるけど…

Slide 10

Slide 10 text

もっとこんな風に! DB1_GroupA DB1_TeamA

Slide 11

Slide 11 text

Cytoscape.js http://js.cytoscape.org/

Slide 12

Slide 12 text

html のサンプル(1) アクセス制御 階層 #cy { width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; }

Slide 13

Slide 13 text

html のサンプル(2) var cy = cytoscape({ container: document.getElementById('cy'), elements: [ { data: { id: "0", label: "ACL“, shape: "star" }, group: "nodes", }, { data: { id: "6", label: "DB1_GroupA", shape: "hexagon" }, group: "nodes", }, { data: { id: "6-0", source: "6", target: "0", }, group: "edges", }, ], style: [ { selector: 'node', style: { 'shape': 'data(shape)', 'background-color': '#666', 'content': 'data(label)', 'text-valign': 'center', 'color': 'white', 'text-outline-width': 2, 'text-outline-color': '#888', } }, { selector: 'edge', style: { 'curve-style': 'bezier', 'target-arrow-shape': 'triangle-backcurve', } }, ] }); var options = { name: 'cose', fit: true, animate: false }; cy.layout( options ).run();

Slide 14

Slide 14 text

できたのがこちら

Slide 15

Slide 15 text

重複

Slide 16

Slide 16 text

入れ子

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

こんなDBはいやだ(><)

Slide 21

Slide 21 text

ありがとうございました