diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-11 08:54:41 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-11 08:54:41 -0600 |
| commit | 91dd070fa8a24df1886d59eee6d484be4647c9e3 (patch) | |
| tree | 4687b2d9e13d1fad04e57bb6550a633cd1058cc9 /share | |
| parent | 6721aaffa33894624c87a54f4ed10eccd3c080e5 (diff) | |
feat: import project policiesgl-policies
Diffstat (limited to 'share')
| -rw-r--r-- | share/misc/entities_example.json | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/share/misc/entities_example.json b/share/misc/entities_example.json new file mode 100644 index 00000000..c93f76f3 --- /dev/null +++ b/share/misc/entities_example.json @@ -0,0 +1,58 @@ +[ + { + "uid": {"type": "Project", "id": "123"}, + "attrs": { + "name": "GitLab", + "path": "gitlab", + "full_path": "gitlab-org/gitlab", + "visibility": "public", + "archived": false, + "members": ["User::\"1\"", "User::\"2\"", "User::\"3\""] + }, + "parents": [{"type": "Group", "id": "456"}] + }, + { + "uid": {"type": "Group", "id": "456"}, + "attrs": { + "name": "GitLab.org", + "path": "gitlab-org", + "full_path": "gitlab-org", + "visibility": "private", + "members": ["User::\"1\"", "User::\"2\""] + }, + "parents": [] + }, + { + "uid": {"type": "User", "id": "1"}, + "attrs": { + "username": "alice", + "access_level": 40, + "admin": false, + "blocked": false, + "external": false + }, + "parents": [] + }, + { + "uid": {"type": "User", "id": "2"}, + "attrs": { + "username": "bob", + "access_level": 30, + "admin": false, + "blocked": false, + "external": false + }, + "parents": [] + }, + { + "uid": {"type": "User", "id": "3"}, + "attrs": { + "username": "charlie", + "access_level": 20, + "admin": false, + "blocked": false, + "external": false + }, + "parents": [] + } +]
\ No newline at end of file |
