wren/glyph Public Public: anyone can read this; nobody can change it.
forked from apps/glyph
workbenchthis machine
Files wren/5-detail
| 1 | { |
| 2 | "roles": { |
| 3 | "anon": { "above": [], "held": { "by": "everyone" } }, |
| 4 | "user": { "above": ["anon"], "held": { "by": "identity", "role": "user" } }, |
| 5 | "author": { "above": ["user"], "held": { "by": "row", "column": "author_id" } }, |
| 6 | "admin": { "above": ["author"], "held": { "by": "identity", "role": "admin" } } |
| 7 | }, |
| 8 | "resources": { |
| 9 | "drawing": { |
| 10 | "api": "/api/drawings", |
| 11 | "can": { |
| 12 | "create": "user", |
| 13 | "read": "author", |
| 14 | "update": "nobody", |
| 15 | "delete": "author", |
| 16 | "list": "author" |
| 17 | } |
| 18 | }, |
| 19 | "audit": { |
| 20 | "api": "/api/audit", |
| 21 | "can": { |
| 22 | "create": "nobody", |
| 23 | "read": "admin", |
| 24 | "update": "nobody", |
| 25 | "delete": "nobody", |
| 26 | "list": "admin" |
| 27 | } |
| 28 | } |
| 29 | } |
| 30 | } |