diff --git a/assets/gdrive/ds-load/gdrive.json b/assets/gdrive/ds-load/gdrive.json index 32d94cf31..9d14bfc2d 100644 --- a/assets/gdrive/ds-load/gdrive.json +++ b/assets/gdrive/ds-load/gdrive.json @@ -1,561 +1,559 @@ -{ - "objects": [ - { - "key": "1", - "type": "identity", - "properties": { - "kind": "IDENTITY_KIND_PID", - "provider": "local", - "verified": true - } - }, - { - "key": "2", - "type": "identity", - "properties": { - "kind": "IDENTITY_KIND_PID", - "provider": "local", - "verified": true - } - }, - { - "key": "3", - "type": "identity", - "properties": { - "kind": "IDENTITY_KIND_PID", - "provider": "local", - "verified": true - } - }, - { - "key": "4", - "type": "identity", - "properties": { - "kind": "IDENTITY_KIND_PID", - "provider": "local", - "verified": true - } - }, - { - "key": "5", - "type": "identity", - "properties": { - "kind": "IDENTITY_KIND_PID", - "provider": "local", - "verified": true - } - }, - { - "key": "6", - "type": "identity", - "properties": { - "kind": "IDENTITY_KIND_PID", - "provider": "local", - "verified": true - } - }, - { - "key": "luke@yavin4base.mil", - "type": "identity", - "properties": { - "kind": "IDENTITY_KIND_EMAIL", - "provider": "local", - "verified": true - } - }, - { - "key": "leia@yavin4base.mil", - "type": "identity", - "properties": { - "kind": "IDENTITY_KIND_EMAIL", - "provider": "local", - "verified": true - } - }, - { - "key": "han@yavin4base.mil", - "type": "identity", - "properties": { - "kind": "IDENTITY_KIND_EMAIL", - "provider": "local", - "verified": true - } - }, - { - "key": "r2d2@droids.yavin4base.mil", - "type": "identity", - "properties": { - "kind": "IDENTITY_KIND_EMAIL", - "provider": "local", - "verified": true - } - }, - { - "key": "c3po@droids.yavin4base.mil", - "type": "identity", - "properties": { - "kind": "IDENTITY_KIND_EMAIL", - "provider": "local", - "verified": true - } - }, - { - "key": "luke@yavin4base.mil", - "type": "user", - "displayName": "Luke Skywalker", - "properties": { - "email": "luke@yavin4base.mil", - "picture": "https://github.com/aserto-demo/gdrive-images/raw/main/luke.jpg", - "status": "USER_STATUS_ACTIVE" - } - }, - { - "key": "leia@yavin4base.mil", - "type": "user", - "displayName": "Leia Skywalker", - "properties": { - "email": "leia@yavin4base.mil", - "picture": "https://github.com/aserto-demo/gdrive-images/raw/main/leia.jpg", - "status": "USER_STATUS_ACTIVE" - } - }, - { - "key": "han@yavin4base.mil", - "type": "user", - "displayName": "Han Solo", - "properties": { - "email": "han@yavin4base.mil", - "picture": "https://github.com/aserto-demo/gdrive-images/raw/main/han.jpg", - "status": "USER_STATUS_ACTIVE" - } - }, - { - "key": "r2d2@droids.yavin4base.mil", - "type": "user", - "displayName": "R2D2", - "properties": { - "email": "r2d2@droids.yavin4base.mil", - "picture": "https://github.com/aserto-demo/gdrive-images/raw/main/r2d2.jpg", - "status": "USER_STATUS_ACTIVE" - } - }, - { - "key": "r2d2@droids.yavin4base.mil", - "type": "user", - "displayName": "C3PO", - "properties": { - "email": "c3po@droids.yavin4base.mil", - "picture": "https://github.com/aserto-demo/gdrive-images/raw/main/c3po.jpg", - "status": "USER_STATUS_ACTIVE" - } - }, - - { - "key": "everyone", - "type": "group", - "displayName": "everyone-group", - "properties": {} - }, - { - "key": "strike-team", - "type": "group", - "displayName": "strike-team-group", - "properties": {} - }, - { - "key": "root", - "type": "folder", - "displayName": "root-folder", - "properties": {} - }, - { - "key": "missions", - "type": "folder", - "displayName": "missions-folder", - "properties": {} - }, - { - "key": "death-star", - "type": "folder", - "displayName": "death-star", - "properties": {} - }, - { - "key": "clone-wars", - "type": "folder", - "displayName": "clone-wars-folder", - "properties": {} - }, - { - "key": "general", - "type": "folder", - "displayName": "general-folder", - "properties": {} - }, - { - "key": "clone-wars", - "type": "folder", - "displayName": "clone-wars-folder", - "properties": {} - }, - { - "key": "siteplan.png", - "type": "document", - "displayName": "siteplan.png-document", - "properties": {} - }, - { - "key": "striketeam.xls", - "type": "document", - "displayName": "striketeam.xls-document", - "properties": {} - }, - { - "key": "dining-menu.pdf", - "type": "document", - "displayName": "dining-menu.pdf-document", - "properties": {} - }, - { - "key": "rebel-handbook.pdf", - "type": "document", - "displayName": "rebel-handbook.pdf-document", - "properties": {} - }, - - - - ], - "relations": [ - { - "subject": { - "type": "user", - "key": "luke@yavin4base.mil" +[ + { + "objects": [ + { + "key": "1", + "type": "identity", + "properties": { + "kind": "IDENTITY_KIND_PID", + "provider": "local", + "verified": true + } }, - "relation": "identifier", - "object": { + { + "key": "2", "type": "identity", - "key": "1" - } - }, - { - "subject": { - "type": "user", - "key": "leia@yavin4base.mil" + "properties": { + "kind": "IDENTITY_KIND_PID", + "provider": "local", + "verified": true + } }, - "relation": "identifier", - "object": { + { + "key": "3", "type": "identity", - "key": "2" - } - }, - { - "subject": { - "type": "user", - "key": "han@yavin4base.mil" + "properties": { + "kind": "IDENTITY_KIND_PID", + "provider": "local", + "verified": true + } }, - "relation": "identifier", - "object": { + { + "key": "4", "type": "identity", - "key": "3" - } - }, - { - "subject": { - "type": "user", - "key": "r2d2@droids.yavin4base.mil" + "properties": { + "kind": "IDENTITY_KIND_PID", + "provider": "local", + "verified": true + } }, - "relation": "identifier", - "object": { + { + "key": "5", "type": "identity", - "key": "4" - } - }, - { - "subject": { - "type": "user", - "key": "c3po@droids.yavin4base.mil" + "properties": { + "kind": "IDENTITY_KIND_PID", + "provider": "local", + "verified": true + } }, - "relation": "identifier", - "object": { + { + "key": "6", "type": "identity", - "key": "3" - } - }, - { - "subject": { - "type": "user", - "key": "luke@yavin4base.mil" + "properties": { + "kind": "IDENTITY_KIND_PID", + "provider": "local", + "verified": true + } }, - "relation": "identifier", - "object": { + { + "key": "luke@yavin4base.mil", "type": "identity", - "key": "luke@yavin4base.mil" - } - }, - { - "subject": { - "type": "user", - "key": "leia@yavin4base.mil" + "properties": { + "kind": "IDENTITY_KIND_EMAIL", + "provider": "local", + "verified": true + } }, - "relation": "identifier", - "object": { + { + "key": "leia@yavin4base.mil", "type": "identity", - "key": "2" - } - }, - { - "subject": { - "type": "user", - "key": "han@yavin4base.mil" + "properties": { + "kind": "IDENTITY_KIND_EMAIL", + "provider": "local", + "verified": true + } }, - "relation": "identifier", - "object": { + { + "key": "han@yavin4base.mil", "type": "identity", - "key": "leia@yavin4base.mil" - } - }, - { - "subject": { - "type": "user", - "key": "r2d2@droids.yavin4base.mil" + "properties": { + "kind": "IDENTITY_KIND_EMAIL", + "provider": "local", + "verified": true + } }, - "relation": "identifier", - "object": { + { + "key": "r2d2@droids.yavin4base.mil", "type": "identity", - "key": "r2d2@yavin4base.mil" - } - }, - { - "subject": { - "type": "user", - "key": "c3po@droids.yavin4base.mil" + "properties": { + "kind": "IDENTITY_KIND_EMAIL", + "provider": "local", + "verified": true + } }, - "relation": "identifier", - "object": { + { + "key": "c3po@droids.yavin4base.mil", "type": "identity", - "key": "c3po@yavin4base.mil" - } - }, - { - "subject": { - "type": "user", - "key": "luke.yavin4base.mil" + "properties": { + "kind": "IDENTITY_KIND_EMAIL", + "provider": "local", + "verified": true + } }, - "relation": "member", - "object": { - "type": "group", - "key": "everyone" - } - }, - { - "subject": { + { + "key": "luke@yavin4base.mil", "type": "user", - "key": "leia.yavin4base.mil" + "displayName": "Luke Skywalker", + "properties": { + "email": "luke@yavin4base.mil", + "picture": "https://github.com/aserto-demo/gdrive-images/raw/main/luke.jpg", + "status": "USER_STATUS_ACTIVE" + } }, - "relation": "member", - "object": { - "type": "group", - "key": "everyone" - } - }, - { - "subject": { + { + "key": "leia@yavin4base.mil", "type": "user", - "key": "han.yavin4base.mil" + "displayName": "Leia Skywalker", + "properties": { + "email": "leia@yavin4base.mil", + "picture": "https://github.com/aserto-demo/gdrive-images/raw/main/leia.jpg", + "status": "USER_STATUS_ACTIVE" + } }, - "relation": "member", - "object": { - "type": "group", - "key": "everyone" - } - }, - { - "subject": { + { + "key": "han@yavin4base.mil", "type": "user", - "key": "r2d2.droids.yavin4base.mil" + "displayName": "Han Solo", + "properties": { + "email": "han@yavin4base.mil", + "picture": "https://github.com/aserto-demo/gdrive-images/raw/main/han.jpg", + "status": "USER_STATUS_ACTIVE" + } }, - "relation": "member", - "object": { - "type": "group", - "key": "everyone" - } - }, - { - "subject": { + { + "key": "r2d2@droids.yavin4base.mil", "type": "user", - "key": "c3po.droids.yavin4base.mil" + "displayName": "R2D2", + "properties": { + "email": "r2d2@droids.yavin4base.mil", + "picture": "https://github.com/aserto-demo/gdrive-images/raw/main/r2d2.jpg", + "status": "USER_STATUS_ACTIVE" + } }, - "relation": "member", - "object": { - "type": "group", - "key": "everyone" - } - }, - { - "subject": { + { + "key": "r2d2@droids.yavin4base.mil", "type": "user", - "key": "luke.yavin4base.mil" + "displayName": "C3PO", + "properties": { + "email": "c3po@droids.yavin4base.mil", + "picture": "https://github.com/aserto-demo/gdrive-images/raw/main/c3po.jpg", + "status": "USER_STATUS_ACTIVE" + } }, - "relation": "member", - "object": { + { + "key": "everyone", "type": "group", - "key": "strike-team" - } - }, - { - "subject": { - "type": "user", - "key": "leia.yavin4base.mil" + "displayName": "everyone-group", + "properties": {} }, - "relation": "member", - "object": { + { + "key": "strike-team", "type": "group", - "key": "strike-team" - } - }, - { - "subject": { - "type": "user", - "key": "han.yavin4base.mil" + "displayName": "strike-team-group", + "properties": {} }, - "relation": "member", - "object": { - "type": "group", - "key": "strike-team" - } - }, - { - "subject": { + { + "key": "root", "type": "folder", - "key": "root" + "displayName": "root-folder", + "properties": {} }, - "relation": "parent", - "object": { + { + "key": "missions", "type": "folder", - "key": "missions" - } - }, - { - "subject": { + "displayName": "missions-folder", + "properties": {} + }, + { + "key": "death-star", "type": "folder", - "key": "missions" + "displayName": "death-star", + "properties": {} }, - "relation": "parent", - "object": { + { + "key": "clone-wars", "type": "folder", - "key": "death-star" - } - }, - { - "subject": { + "displayName": "clone-wars-folder", + "properties": {} + }, + { + "key": "general", "type": "folder", - "key": "death-star" + "displayName": "general-folder", + "properties": {} }, - "relation": "parent", - "object": { - "type": "document", - "key": "siteplan.png" - } - }, - { - "subject": { + { + "key": "clone-wars", "type": "folder", - "key": "death-star" + "displayName": "clone-wars-folder", + "properties": {} }, - "relation": "parent", - "object": { + { + "key": "siteplan.png", "type": "document", - "key": "striketeam.xls" - } - }, - { - "subject": { - "type": "folder", - "key": "clone-wars" + "displayName": "siteplan.png-document", + "properties": {} }, - "relation": "parent", - "object": { - "type": "folder", - "key": "missions" - } - }, - { - "subject": { - "type": "group", - "key": "strike-team" + { + "key": "striketeam.xls", + "type": "document", + "displayName": "striketeam.xls-document", + "properties": {} }, - "relation": "editor", - "object": { - "type": "folder", - "key": "missions" - } - }, - { - "subject": { - "type": "group", - "key": "strike-team" + { + "key": "dining-menu.pdf", + "type": "document", + "displayName": "dining-menu.pdf-document", + "properties": {} }, - "relation": "editor", - "object": { - "type": "folder", - "key": "death-star" - } - }, - { - "subject": { - "type": "group", - "key": "everyone" + { + "key": "rebel-handbook.pdf", + "type": "document", + "displayName": "rebel-handbook.pdf-document", + "properties": {} + } + ], + "relations": [ + { + "subject": { + "type": "user", + "key": "luke@yavin4base.mil" + }, + "relation": "identifier", + "object": { + "type": "identity", + "key": "1" + } }, - "relation": "viewer", - "object": { - "type": "folder", - "key": "general" - } - }, - { - "subject": { - "type": "user", - "key": "lea@yavin4base.mil" + { + "subject": { + "type": "user", + "key": "leia@yavin4base.mil" + }, + "relation": "identifier", + "object": { + "type": "identity", + "key": "2" + } }, - "relation": "viewer", - "object": { - "type": "folder", - "key": "general" - } - }, - { - "subject": { - "type": "folder", - "key": "root" + { + "subject": { + "type": "user", + "key": "han@yavin4base.mil" + }, + "relation": "identifier", + "object": { + "type": "identity", + "key": "3" + } }, - "relation": "parent", - "object": { - "type": "folder", - "key": "general" - } - }, - { - "subject": { - "type": "folder", - "key": "general" + { + "subject": { + "type": "user", + "key": "r2d2@droids.yavin4base.mil" + }, + "relation": "identifier", + "object": { + "type": "identity", + "key": "4" + } }, - "relation": "parent", - "object": { - "type": "document", - "key": "dining-menu.pdf" - } - }, - { - "subject": { - "type": "folder", - "key": "general" + { + "subject": { + "type": "user", + "key": "c3po@droids.yavin4base.mil" + }, + "relation": "identifier", + "object": { + "type": "identity", + "key": "3" + } }, - "relation": "parent", - "object": { - "type": "document", - "key": "rebel-handbook.pdf" - } - } - ] -} + { + "subject": { + "type": "user", + "key": "luke@yavin4base.mil" + }, + "relation": "identifier", + "object": { + "type": "identity", + "key": "luke@yavin4base.mil" + } + }, + { + "subject": { + "type": "user", + "key": "leia@yavin4base.mil" + }, + "relation": "identifier", + "object": { + "type": "identity", + "key": "2" + } + }, + { + "subject": { + "type": "user", + "key": "han@yavin4base.mil" + }, + "relation": "identifier", + "object": { + "type": "identity", + "key": "leia@yavin4base.mil" + } + }, + { + "subject": { + "type": "user", + "key": "r2d2@droids.yavin4base.mil" + }, + "relation": "identifier", + "object": { + "type": "identity", + "key": "r2d2@yavin4base.mil" + } + }, + { + "subject": { + "type": "user", + "key": "c3po@droids.yavin4base.mil" + }, + "relation": "identifier", + "object": { + "type": "identity", + "key": "c3po@yavin4base.mil" + } + }, + { + "subject": { + "type": "user", + "key": "luke.yavin4base.mil" + }, + "relation": "member", + "object": { + "type": "group", + "key": "everyone" + } + }, + { + "subject": { + "type": "user", + "key": "leia.yavin4base.mil" + }, + "relation": "member", + "object": { + "type": "group", + "key": "everyone" + } + }, + { + "subject": { + "type": "user", + "key": "han.yavin4base.mil" + }, + "relation": "member", + "object": { + "type": "group", + "key": "everyone" + } + }, + { + "subject": { + "type": "user", + "key": "r2d2.droids.yavin4base.mil" + }, + "relation": "member", + "object": { + "type": "group", + "key": "everyone" + } + }, + { + "subject": { + "type": "user", + "key": "c3po.droids.yavin4base.mil" + }, + "relation": "member", + "object": { + "type": "group", + "key": "everyone" + } + }, + { + "subject": { + "type": "user", + "key": "luke.yavin4base.mil" + }, + "relation": "member", + "object": { + "type": "group", + "key": "strike-team" + } + }, + { + "subject": { + "type": "user", + "key": "leia.yavin4base.mil" + }, + "relation": "member", + "object": { + "type": "group", + "key": "strike-team" + } + }, + { + "subject": { + "type": "user", + "key": "han.yavin4base.mil" + }, + "relation": "member", + "object": { + "type": "group", + "key": "strike-team" + } + }, + { + "subject": { + "type": "folder", + "key": "root" + }, + "relation": "parent", + "object": { + "type": "folder", + "key": "missions" + } + }, + { + "subject": { + "type": "folder", + "key": "missions" + }, + "relation": "parent", + "object": { + "type": "folder", + "key": "death-star" + } + }, + { + "subject": { + "type": "folder", + "key": "death-star" + }, + "relation": "parent", + "object": { + "type": "document", + "key": "siteplan.png" + } + }, + { + "subject": { + "type": "folder", + "key": "death-star" + }, + "relation": "parent", + "object": { + "type": "document", + "key": "striketeam.xls" + } + }, + { + "subject": { + "type": "folder", + "key": "clone-wars" + }, + "relation": "parent", + "object": { + "type": "folder", + "key": "missions" + } + }, + { + "subject": { + "type": "group", + "key": "strike-team" + }, + "relation": "editor", + "object": { + "type": "folder", + "key": "missions" + } + }, + { + "subject": { + "type": "group", + "key": "strike-team" + }, + "relation": "editor", + "object": { + "type": "folder", + "key": "death-star" + } + }, + { + "subject": { + "type": "group", + "key": "everyone" + }, + "relation": "viewer", + "object": { + "type": "folder", + "key": "general" + } + }, + { + "subject": { + "type": "user", + "key": "lea@yavin4base.mil" + }, + "relation": "viewer", + "object": { + "type": "folder", + "key": "general" + } + }, + { + "subject": { + "type": "folder", + "key": "root" + }, + "relation": "parent", + "object": { + "type": "folder", + "key": "general" + } + }, + { + "subject": { + "type": "folder", + "key": "general" + }, + "relation": "parent", + "object": { + "type": "document", + "key": "dining-menu.pdf" + } + }, + { + "subject": { + "type": "folder", + "key": "general" + }, + "relation": "parent", + "object": { + "type": "document", + "key": "rebel-handbook.pdf" + } + } + ] + } +] \ No newline at end of file