From 6ba4ec3e0b075a9d3114d82d9fe83ac37f4b9b0d Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 10 Jul 2025 08:26:16 -0600 Subject: docs: add an example entities.json file --- share/misc/entities.json | 286 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 286 insertions(+) create mode 100644 share/misc/entities.json diff --git a/share/misc/entities.json b/share/misc/entities.json new file mode 100644 index 00000000..8d50e674 --- /dev/null +++ b/share/misc/entities.json @@ -0,0 +1,286 @@ +[ + { + "uid": { + "type": "User", + "id": "1" + }, + "attrs": {}, + "parents": [] + }, + { + "uid": { + "type": "Organization", + "id": "1" + }, + "attrs": { + "name": "default" + }, + "parents": [] + }, + { + "uid": { + "type": "Organization", + "id": "2" + }, + "attrs": { + "name": "gitlab" + }, + "parents": [] + }, + { + "uid": { + "type": "Group", + "id": "1" + }, + "attrs": { + "name": "A" + }, + "parents": [ + { + "type": "Organization", + "id": "1" + } + ] + }, + { + "uid": { + "type": "Group", + "id": "2" + }, + "attrs": { + "name": "B" + }, + "parents": [ + { + "type": "Organization", + "id": "1" + } + ] + }, + { + "uid": { + "type": "Group", + "id": "3" + }, + "attrs": { + "name": "gitlab-org" + }, + "parents": [ + { + "type": "Organization", + "id": "2" + } + ] + }, + { + "uid": { + "type": "Group", + "id": "4" + }, + "attrs": { + "name": "gitlab-com" + }, + "parents": [ + { + "type": "Organization", + "id": "2" + } + ] + }, + { + "uid": { + "type": "Group", + "id": "5" + }, + "attrs": { + "name": "gl-security" + }, + "parents": [ + { + "type": "Organization", + "id": "2" + }, + { + "type": "Group", + "id": "4" + } + ] + }, + { + "uid": { + "type": "Group", + "id": "6" + }, + "attrs": { + "name": "test-projects" + }, + "parents": [ + { + "type": "Organization", + "id": "2" + }, + { + "type": "Group", + "id": "5" + } + ] + }, + { + "uid": { + "type": "Group", + "id": "7" + }, + "attrs": { + "name": "support" + }, + "parents": [ + { + "type": "Organization", + "id": "2" + }, + { + "type": "Group", + "id": "4" + } + ] + }, + { + "uid": { + "type": "Group", + "id": "8" + }, + "attrs": { + "name": "toolbox" + }, + "parents": [ + { + "type": "Organization", + "id": "2" + }, + { + "type": "Group", + "id": "7" + } + ] + }, + { + "uid": { + "type": "Project", + "id": "1" + }, + "attrs": { + "name": "A1" + }, + "parents": [ + { + "type": "Group", + "id": "1" + } + ] + }, + { + "uid": { + "type": "Project", + "id": "2" + }, + "attrs": { + "name": "B1" + }, + "parents": [ + { + "type": "Group", + "id": "2" + } + ] + }, + { + "uid": { + "type": "Project", + "id": "3" + }, + "attrs": { + "name": "gitlab" + }, + "parents": [ + { + "type": "Group", + "id": "3" + } + ] + }, + { + "uid": { + "type": "Project", + "id": "4" + }, + "attrs": { + "name": "eicar-test-project" + }, + "parents": [ + { + "type": "Group", + "id": "6" + } + ] + }, + { + "uid": { + "type": "Project", + "id": "5" + }, + "attrs": { + "name": "disclosures" + }, + "parents": [ + { + "type": "Group", + "id": "5" + } + ] + }, + { + "uid": { + "type": "Project", + "id": "6" + }, + "attrs": { + "name": "changelog-parser" + }, + "parents": [ + { + "type": "Group", + "id": "8" + } + ] + }, + { + "uid": { + "type": "Project", + "id": "7" + }, + "attrs": { + "name": "handbook" + }, + "parents": [ + { + "type": "Group", + "id": "4" + } + ] + }, + { + "uid": { + "type": "Project", + "id": "8" + }, + "attrs": { + "name": "www-gitlab-com" + }, + "parents": [ + { + "type": "Group", + "id": "4" + } + ] + } +] -- cgit v1.2.3