|
| 1 | +{ |
| 2 | + "uidcs1123": { |
| 3 | + "urlPath": "/roles/uid123", |
| 4 | + "stackHeaders": { "api_key": "uid123", "branch": "main" }, |
| 5 | + "name": "Test role 1", |
| 6 | + "description": "", |
| 7 | + "rules": [ |
| 8 | + { "module": "environment", "environments": ["uidenv123"], "acl": { "read": true } }, |
| 9 | + { "module": "locale", "locales": ["uidloc123"], "acl": { "read": true } }, |
| 10 | + { "module": "content_type", "content_types": ["$all"], "acl": { "read": true, "sub_acl": { "read": true } } }, |
| 11 | + { "module": "entry", "content_type": "about", "entries": ["uident123"], "acl": { "read": true } }, |
| 12 | + { "module": "branch", "branches": ["main"], "acl": { "read": true } } |
| 13 | + ], |
| 14 | + "users": [], |
| 15 | + "uid": "uid123", |
| 16 | + "owner": "vikram@contentstack.com", |
| 17 | + "stack": { |
| 18 | + "created_at": "2024-11-14T23:18:46.087Z", |
| 19 | + "updated_at": "2025-02-28T00:38:09.298Z", |
| 20 | + "uid": "uid123", |
| 21 | + "name": "Datasync-manager", |
| 22 | + "org_uid": "uid123", |
| 23 | + "api_key": "uid123", |
| 24 | + "master_locale": "en-us", |
| 25 | + "is_asset_download_public": true, |
| 26 | + "owner_uid": "uid123", |
| 27 | + "user_uids": ["uid123", "uid123"], |
| 28 | + "master_key": "uid123" |
| 29 | + }, |
| 30 | + "permissions": { |
| 31 | + "content_types": [ |
| 32 | + { "uid": "about", "SYS_ACL": { "read": true } }, |
| 33 | + { "uid": "about", "SYS_ACL": { "read": true } }, |
| 34 | + { "uid": "header", "SYS_ACL": { "read": true, "sub_acl": { "read": true } } }, |
| 35 | + { "uid": "header", "SYS_ACL": { "read": true, "sub_acl": { "read": true } } } |
| 36 | + ], |
| 37 | + "environments": [{ "uid": "uid123", "SYS_ACL": { "read": true } }], |
| 38 | + "locales": [{ "uid": "uid123", "SYS_ACL": { "read": true } }] |
| 39 | + }, |
| 40 | + "SYS_ACL": {} |
| 41 | + }, |
| 42 | + "uidcs2123": { |
| 43 | + "urlPath": "/roles/uid123", |
| 44 | + "stackHeaders": { "api_key": "uid123", "branch": "main" }, |
| 45 | + "name": "Role 2", |
| 46 | + "description": "", |
| 47 | + "rules": [ |
| 48 | + { "module": "environment", "environments": ["uid123"], "acl": { "read": true } }, |
| 49 | + { "module": "locale", "locales": ["uid123"], "acl": { "read": true } }, |
| 50 | + { "module": "content_type", "content_types": ["$all"], "acl": { "read": true, "sub_acl": { "read": true } } }, |
| 51 | + { "module": "entry", "content_type": "header", "entries": ["uid123"], "acl": { "read": true } }, |
| 52 | + { "module": "branch", "branches": ["dev"], "acl": { "read": true } } |
| 53 | + ], |
| 54 | + "users": [], |
| 55 | + "uid": "uid123", |
| 56 | + "created_at": "2025-03-02T16:22:56.080Z", |
| 57 | + "updated_at": "2025-03-02T16:22:56.080Z", |
| 58 | + "owner": "vikram@contentstack.com", |
| 59 | + "stack": { |
| 60 | + "created_at": "2024-11-14T23:18:46.087Z", |
| 61 | + "updated_at": "2025-02-28T00:38:09.298Z", |
| 62 | + "uid": "uid123", |
| 63 | + "name": "Datasync-manager", |
| 64 | + "org_uid": "uid123", |
| 65 | + "api_key": "uid123", |
| 66 | + "master_locale": "en-us", |
| 67 | + "is_asset_download_public": true, |
| 68 | + "owner_uid": "uid123", |
| 69 | + "user_uids": ["uid123", "uid123"], |
| 70 | + "master_key": "uid123" |
| 71 | + }, |
| 72 | + "permissions": { |
| 73 | + "content_types": [ |
| 74 | + { "uid": "about", "SYS_ACL": { "read": true, "sub_acl": { "read": true } } }, |
| 75 | + { "uid": "about", "SYS_ACL": { "read": true, "sub_acl": { "read": true } } }, |
| 76 | + { "uid": "header", "SYS_ACL": { "read": true } }, |
| 77 | + { "uid": "header", "SYS_ACL": { "read": true } } |
| 78 | + ], |
| 79 | + "environments": [{ "uid": "uid123", "SYS_ACL": { "read": true } }], |
| 80 | + "locales": [{ "uid": "uid123", "SYS_ACL": { "read": true } }] |
| 81 | + }, |
| 82 | + "SYS_ACL": {} |
| 83 | + } |
| 84 | +} |
0 commit comments