| 
									
										
										
										
											2020-06-09 11:48:49 +02:00
										 |  |  | 'use strict'; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-06-10 17:53:11 +02:00
										 |  |  | const _ = require('lodash'); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-04-05 10:32:20 +02:00
										 |  |  | const { createAuthRequest } = require('api-tests/request'); | 
					
						
							|  |  |  | const { createStrapiInstance } = require('api-tests/strapi'); | 
					
						
							| 
									
										
										
										
											2020-06-04 18:30:26 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | describe('Role CRUD End to End', () => { | 
					
						
							| 
									
										
										
										
											2020-11-10 14:15:31 +01:00
										 |  |  |   let rq; | 
					
						
							|  |  |  |   let strapi; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-06-04 18:30:26 +02:00
										 |  |  |   beforeAll(async () => { | 
					
						
							| 
									
										
										
										
											2020-11-30 20:20:36 +01:00
										 |  |  |     strapi = await createStrapiInstance(); | 
					
						
							| 
									
										
										
										
											2020-11-10 14:15:31 +01:00
										 |  |  |     rq = await createAuthRequest({ strapi }); | 
					
						
							| 
									
										
										
										
											2021-03-26 20:15:38 +01:00
										 |  |  |   }); | 
					
						
							| 
									
										
										
										
											2020-06-04 18:30:26 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-11-10 14:15:31 +01:00
										 |  |  |   afterAll(async () => { | 
					
						
							|  |  |  |     await strapi.destroy(); | 
					
						
							|  |  |  |   }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-06-04 18:30:26 +02:00
										 |  |  |   test('Can get the existing permissions', async () => { | 
					
						
							| 
									
										
										
										
											2022-08-08 15:50:34 +02:00
										 |  |  |     const res = await rq({ | 
					
						
							| 
									
										
										
										
											2020-06-04 18:30:26 +02:00
										 |  |  |       url: '/admin/permissions', | 
					
						
							|  |  |  |       method: 'GET', | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     expect(res.statusCode).toBe(200); | 
					
						
							| 
									
										
										
										
											2020-06-10 17:53:11 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |     // Data is sorted to avoid error with snapshot when the data is not in the same order
 | 
					
						
							|  |  |  |     const sortedData = _.cloneDeep(res.body.data); | 
					
						
							| 
									
										
										
										
											2022-08-08 23:33:39 +02:00
										 |  |  |     Object.keys(sortedData.sections).forEach((sectionName) => { | 
					
						
							| 
									
										
										
										
											2020-06-10 17:53:11 +02:00
										 |  |  |       sortedData.sections[sectionName] = _.sortBy(sortedData.sections[sectionName], ['action']); | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  |     sortedData.conditions = sortedData.conditions.sort(); | 
					
						
							| 
									
										
										
										
											2020-12-21 17:11:48 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-03-06 21:46:45 +01:00
										 |  |  |     // eslint-disable-next-line node/no-extraneous-require
 | 
					
						
							|  |  |  |     const { features } = require('@strapi/strapi/lib/utils/ee'); | 
					
						
							|  |  |  |     const hasSSO = features.isEnabled('sso'); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     if (hasSSO) { | 
					
						
							| 
									
										
										
										
											2020-12-21 17:11:48 +01:00
										 |  |  |       expect(sortedData).toMatchInlineSnapshot(`
 | 
					
						
							| 
									
										
										
										
											2023-03-06 21:46:45 +01:00
										 |  |  |           { | 
					
						
							|  |  |  |             "conditions": [ | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "category": "default", | 
					
						
							|  |  |  |                 "displayName": "Is creator", | 
					
						
							|  |  |  |                 "id": "admin::is-creator", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "category": "default", | 
					
						
							|  |  |  |                 "displayName": "Has same role as creator", | 
					
						
							|  |  |  |                 "id": "admin::has-same-role-as-creator", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |             ], | 
					
						
							|  |  |  |             "sections": { | 
					
						
							|  |  |  |               "collectionTypes": [ | 
					
						
							|  |  |  |                 [ | 
					
						
							|  |  |  |                   { | 
					
						
							|  |  |  |                     "actionId": "plugin::content-manager.explorer.create", | 
					
						
							|  |  |  |                     "applyToProperties": [ | 
					
						
							|  |  |  |                       "fields", | 
					
						
							|  |  |  |                       "locales", | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                     "label": "Create", | 
					
						
							|  |  |  |                     "subjects": [ | 
					
						
							|  |  |  |                       "plugin::users-permissions.user", | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                   }, | 
					
						
							|  |  |  |                   { | 
					
						
							|  |  |  |                     "actionId": "plugin::content-manager.explorer.read", | 
					
						
							|  |  |  |                     "applyToProperties": [ | 
					
						
							|  |  |  |                       "fields", | 
					
						
							|  |  |  |                       "locales", | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                     "label": "Read", | 
					
						
							|  |  |  |                     "subjects": [ | 
					
						
							|  |  |  |                       "plugin::users-permissions.user", | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                   }, | 
					
						
							|  |  |  |                   { | 
					
						
							|  |  |  |                     "actionId": "plugin::content-manager.explorer.update", | 
					
						
							|  |  |  |                     "applyToProperties": [ | 
					
						
							|  |  |  |                       "fields", | 
					
						
							|  |  |  |                       "locales", | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                     "label": "Update", | 
					
						
							|  |  |  |                     "subjects": [ | 
					
						
							|  |  |  |                       "plugin::users-permissions.user", | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                   }, | 
					
						
							|  |  |  |                   { | 
					
						
							|  |  |  |                     "actionId": "plugin::content-manager.explorer.delete", | 
					
						
							|  |  |  |                     "applyToProperties": [ | 
					
						
							|  |  |  |                       "locales", | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                     "label": "Delete", | 
					
						
							|  |  |  |                     "subjects": [ | 
					
						
							|  |  |  |                       "plugin::users-permissions.user", | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                   }, | 
					
						
							|  |  |  |                   { | 
					
						
							|  |  |  |                     "actionId": "plugin::content-manager.explorer.publish", | 
					
						
							|  |  |  |                     "applyToProperties": [ | 
					
						
							|  |  |  |                       "locales", | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                     "label": "Publish", | 
					
						
							|  |  |  |                     "subjects": [], | 
					
						
							|  |  |  |                   }, | 
					
						
							|  |  |  |                 ], | 
					
						
							|  |  |  |                 [ | 
					
						
							|  |  |  |                   { | 
					
						
							|  |  |  |                     "label": "user", | 
					
						
							|  |  |  |                     "properties": [ | 
					
						
							|  |  |  |                       { | 
					
						
							|  |  |  |                         "children": [ | 
					
						
							|  |  |  |                           { | 
					
						
							|  |  |  |                             "label": "username", | 
					
						
							|  |  |  |                             "required": true, | 
					
						
							|  |  |  |                             "value": "username", | 
					
						
							|  |  |  |                           }, | 
					
						
							|  |  |  |                           { | 
					
						
							|  |  |  |                             "label": "email", | 
					
						
							|  |  |  |                             "required": true, | 
					
						
							|  |  |  |                             "value": "email", | 
					
						
							|  |  |  |                           }, | 
					
						
							|  |  |  |                           { | 
					
						
							|  |  |  |                             "label": "provider", | 
					
						
							|  |  |  |                             "value": "provider", | 
					
						
							|  |  |  |                           }, | 
					
						
							|  |  |  |                           { | 
					
						
							|  |  |  |                             "label": "password", | 
					
						
							|  |  |  |                             "value": "password", | 
					
						
							|  |  |  |                           }, | 
					
						
							|  |  |  |                           { | 
					
						
							|  |  |  |                             "label": "resetPasswordToken", | 
					
						
							|  |  |  |                             "value": "resetPasswordToken", | 
					
						
							|  |  |  |                           }, | 
					
						
							|  |  |  |                           { | 
					
						
							|  |  |  |                             "label": "confirmationToken", | 
					
						
							|  |  |  |                             "value": "confirmationToken", | 
					
						
							|  |  |  |                           }, | 
					
						
							|  |  |  |                           { | 
					
						
							|  |  |  |                             "label": "confirmed", | 
					
						
							|  |  |  |                             "value": "confirmed", | 
					
						
							|  |  |  |                           }, | 
					
						
							|  |  |  |                           { | 
					
						
							|  |  |  |                             "label": "blocked", | 
					
						
							|  |  |  |                             "value": "blocked", | 
					
						
							|  |  |  |                           }, | 
					
						
							|  |  |  |                           { | 
					
						
							|  |  |  |                             "label": "role", | 
					
						
							|  |  |  |                             "value": "role", | 
					
						
							|  |  |  |                           }, | 
					
						
							|  |  |  |                         ], | 
					
						
							|  |  |  |                         "label": "Fields", | 
					
						
							|  |  |  |                         "value": "fields", | 
					
						
							|  |  |  |                       }, | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                     "uid": "plugin::users-permissions.user", | 
					
						
							|  |  |  |                   }, | 
					
						
							|  |  |  |                 ], | 
					
						
							|  |  |  |               ], | 
					
						
							|  |  |  |               "plugins": [ | 
					
						
							| 
									
										
										
										
											2022-08-29 13:55:28 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2023-03-06 21:46:45 +01:00
										 |  |  |                   "action": "plugin::content-manager.collection-types.configure-view", | 
					
						
							|  |  |  |                   "displayName": "Configure view", | 
					
						
							|  |  |  |                   "plugin": "content-manager", | 
					
						
							|  |  |  |                   "subCategory": "collection types", | 
					
						
							| 
									
										
										
										
											2021-03-25 14:59:44 +01:00
										 |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-08-29 13:55:28 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2023-03-06 21:46:45 +01:00
										 |  |  |                   "action": "plugin::content-manager.components.configure-layout", | 
					
						
							|  |  |  |                   "displayName": "Configure Layout", | 
					
						
							|  |  |  |                   "plugin": "content-manager", | 
					
						
							|  |  |  |                   "subCategory": "components", | 
					
						
							| 
									
										
										
										
											2021-03-25 14:59:44 +01:00
										 |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-08-29 13:55:28 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2023-03-06 21:46:45 +01:00
										 |  |  |                   "action": "plugin::content-manager.single-types.configure-view", | 
					
						
							|  |  |  |                   "displayName": "Configure view", | 
					
						
							|  |  |  |                   "plugin": "content-manager", | 
					
						
							|  |  |  |                   "subCategory": "single types", | 
					
						
							| 
									
										
										
										
											2021-03-25 14:59:44 +01:00
										 |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-08-29 13:55:28 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2023-03-06 21:46:45 +01:00
										 |  |  |                   "action": "plugin::content-type-builder.read", | 
					
						
							|  |  |  |                   "displayName": "Read", | 
					
						
							|  |  |  |                   "plugin": "content-type-builder", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							| 
									
										
										
										
											2021-03-25 14:59:44 +01:00
										 |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-08-29 13:55:28 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2023-03-06 21:46:45 +01:00
										 |  |  |                   "action": "plugin::documentation.read", | 
					
						
							|  |  |  |                   "displayName": "Access the Documentation", | 
					
						
							|  |  |  |                   "plugin": "documentation", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							| 
									
										
										
										
											2021-03-25 14:59:44 +01:00
										 |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-08-29 13:55:28 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2023-03-06 21:46:45 +01:00
										 |  |  |                   "action": "plugin::documentation.settings.regenerate", | 
					
						
							|  |  |  |                   "displayName": "Regenerate", | 
					
						
							|  |  |  |                   "plugin": "documentation", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-06 18:09:49 +02:00
										 |  |  |                   "action": "plugin::documentation.settings.update", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "displayName": "Update and delete", | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                   "plugin": "documentation", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-06 18:09:49 +02:00
										 |  |  |                   "action": "plugin::upload.assets.copy-link", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "displayName": "Copy link", | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                   "plugin": "upload", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "subCategory": "assets", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-06 18:09:49 +02:00
										 |  |  |                   "action": "plugin::upload.assets.create", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "displayName": "Create (upload)", | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                   "plugin": "upload", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "subCategory": "assets", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-06 18:09:49 +02:00
										 |  |  |                   "action": "plugin::upload.assets.download", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "displayName": "Download", | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                   "plugin": "upload", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "subCategory": "assets", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-06 18:09:49 +02:00
										 |  |  |                   "action": "plugin::upload.assets.update", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "displayName": "Update (crop, details, replace) + delete", | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                   "plugin": "upload", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "subCategory": "assets", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-10-21 15:28:37 +01:00
										 |  |  |                 { | 
					
						
							|  |  |  |                   "action": "plugin::upload.configure-view", | 
					
						
							|  |  |  |                   "displayName": "Configure view", | 
					
						
							|  |  |  |                   "plugin": "upload", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-06 18:09:49 +02:00
										 |  |  |                   "action": "plugin::upload.read", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "displayName": "Access the Media Library", | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                   "plugin": "upload", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-06 18:09:49 +02:00
										 |  |  |                   "action": "plugin::users-permissions.advanced-settings.read", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "displayName": "Read", | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                   "plugin": "users-permissions", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "subCategory": "advancedSettings", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-06 18:09:49 +02:00
										 |  |  |                   "action": "plugin::users-permissions.advanced-settings.update", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "displayName": "Edit", | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                   "plugin": "users-permissions", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "subCategory": "advancedSettings", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-06 18:09:49 +02:00
										 |  |  |                   "action": "plugin::users-permissions.email-templates.read", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "displayName": "Read", | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                   "plugin": "users-permissions", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "subCategory": "emailTemplates", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-06 18:09:49 +02:00
										 |  |  |                   "action": "plugin::users-permissions.email-templates.update", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "displayName": "Edit", | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                   "plugin": "users-permissions", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "subCategory": "emailTemplates", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-06 18:09:49 +02:00
										 |  |  |                   "action": "plugin::users-permissions.providers.read", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "displayName": "Read", | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                   "plugin": "users-permissions", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "subCategory": "providers", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-06 18:09:49 +02:00
										 |  |  |                   "action": "plugin::users-permissions.providers.update", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "displayName": "Edit", | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                   "plugin": "users-permissions", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "subCategory": "providers", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-06 18:09:49 +02:00
										 |  |  |                   "action": "plugin::users-permissions.roles.create", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "displayName": "Create", | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                   "plugin": "users-permissions", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "subCategory": "roles", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-06 18:09:49 +02:00
										 |  |  |                   "action": "plugin::users-permissions.roles.delete", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "displayName": "Delete", | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                   "plugin": "users-permissions", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "subCategory": "roles", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-06 18:09:49 +02:00
										 |  |  |                   "action": "plugin::users-permissions.roles.read", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "displayName": "Read", | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                   "plugin": "users-permissions", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "subCategory": "roles", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-06 18:09:49 +02:00
										 |  |  |                   "action": "plugin::users-permissions.roles.update", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "displayName": "Update", | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                   "plugin": "users-permissions", | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "subCategory": "roles", | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |               ], | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |               "settings": [ | 
					
						
							|  |  |  |                 { | 
					
						
							| 
									
										
										
										
											2022-08-25 10:00:52 +02:00
										 |  |  |                   "action": "admin::api-tokens.access", | 
					
						
							|  |  |  |                   "category": "api tokens", | 
					
						
							|  |  |  |                   "displayName": "Access the API tokens settings page", | 
					
						
							|  |  |  |                   "subCategory": "api Tokens", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-24 10:39:35 +02:00
										 |  |  |                   "action": "admin::api-tokens.create", | 
					
						
							|  |  |  |                   "category": "api tokens", | 
					
						
							| 
									
										
										
										
											2021-08-24 11:05:53 +02:00
										 |  |  |                   "displayName": "Create (generate)", | 
					
						
							| 
									
										
										
										
											2021-08-24 10:39:35 +02:00
										 |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-24 10:39:35 +02:00
										 |  |  |                   "action": "admin::api-tokens.delete", | 
					
						
							|  |  |  |                   "category": "api tokens", | 
					
						
							| 
									
										
										
										
											2021-08-24 11:05:53 +02:00
										 |  |  |                   "displayName": "Delete (revoke)", | 
					
						
							| 
									
										
										
										
											2021-08-24 10:39:35 +02:00
										 |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-24 10:39:35 +02:00
										 |  |  |                   "action": "admin::api-tokens.read", | 
					
						
							|  |  |  |                   "category": "api tokens", | 
					
						
							|  |  |  |                   "displayName": "Read", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							|  |  |  |                   "action": "admin::api-tokens.regenerate", | 
					
						
							| 
									
										
										
										
											2021-08-24 10:39:35 +02:00
										 |  |  |                   "category": "api tokens", | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                   "displayName": "Regenerate", | 
					
						
							| 
									
										
										
										
											2021-08-24 10:39:35 +02:00
										 |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							|  |  |  |                   "action": "admin::api-tokens.update", | 
					
						
							| 
									
										
										
										
											2022-09-06 11:02:44 +02:00
										 |  |  |                   "category": "api tokens", | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                   "displayName": "Update", | 
					
						
							| 
									
										
										
										
											2022-09-06 11:02:44 +02:00
										 |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2023-03-06 21:46:45 +01:00
										 |  |  |                 { | 
					
						
							|  |  |  |                   "action": "admin::audit-logs.read", | 
					
						
							|  |  |  |                   "category": "audit logs", | 
					
						
							|  |  |  |                   "displayName": "Read", | 
					
						
							|  |  |  |                   "subCategory": "options", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "action": "admin::marketplace.read", | 
					
						
							|  |  |  |                   "category": "plugins and marketplace", | 
					
						
							|  |  |  |                   "displayName": "Access the marketplace", | 
					
						
							|  |  |  |                   "subCategory": "marketplace", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							|  |  |  |                   "action": "admin::project-settings.read", | 
					
						
							|  |  |  |                   "category": "project", | 
					
						
							|  |  |  |                   "displayName": "Read the project level settings", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							| 
									
										
										
										
											2022-03-29 16:55:04 +02:00
										 |  |  |                   "action": "admin::project-settings.update", | 
					
						
							|  |  |  |                   "category": "project", | 
					
						
							|  |  |  |                   "displayName": "Update the project level settings", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2023-03-06 21:46:45 +01:00
										 |  |  |                 { | 
					
						
							|  |  |  |                   "action": "admin::provider-login.read", | 
					
						
							|  |  |  |                   "category": "single sign on", | 
					
						
							|  |  |  |                   "displayName": "Read", | 
					
						
							|  |  |  |                   "subCategory": "options", | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "action": "admin::provider-login.update", | 
					
						
							|  |  |  |                   "category": "single sign on", | 
					
						
							|  |  |  |                   "displayName": "Update", | 
					
						
							|  |  |  |                   "subCategory": "options", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2023-03-16 15:49:45 +01:00
										 |  |  |                 { | 
					
						
							|  |  |  |                   "action": "admin::review-workflows.read", | 
					
						
							|  |  |  |                   "category": "review workflows", | 
					
						
							|  |  |  |                   "displayName": "Read", | 
					
						
							|  |  |  |                   "subCategory": "options", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "action": "admin::roles.create", | 
					
						
							|  |  |  |                   "category": "users and roles", | 
					
						
							|  |  |  |                   "displayName": "Create", | 
					
						
							|  |  |  |                   "subCategory": "roles", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "action": "admin::roles.delete", | 
					
						
							|  |  |  |                   "category": "users and roles", | 
					
						
							|  |  |  |                   "displayName": "Delete", | 
					
						
							|  |  |  |                   "subCategory": "roles", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "action": "admin::roles.read", | 
					
						
							|  |  |  |                   "category": "users and roles", | 
					
						
							|  |  |  |                   "displayName": "Read", | 
					
						
							|  |  |  |                   "subCategory": "roles", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "action": "admin::roles.update", | 
					
						
							|  |  |  |                   "category": "users and roles", | 
					
						
							|  |  |  |                   "displayName": "Update", | 
					
						
							|  |  |  |                   "subCategory": "roles", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2023-03-06 21:46:45 +01:00
										 |  |  |                 { | 
					
						
							|  |  |  |                   "action": "admin::transfer.tokens.access", | 
					
						
							|  |  |  |                   "category": "transfer tokens", | 
					
						
							|  |  |  |                   "displayName": "Access the transfer tokens settings page", | 
					
						
							|  |  |  |                   "subCategory": "transfer tokens", | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "action": "admin::transfer.tokens.create", | 
					
						
							|  |  |  |                   "category": "transfer tokens", | 
					
						
							|  |  |  |                   "displayName": "Create (generate)", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "action": "admin::transfer.tokens.delete", | 
					
						
							|  |  |  |                   "category": "transfer tokens", | 
					
						
							|  |  |  |                   "displayName": "Delete (revoke)", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "action": "admin::transfer.tokens.read", | 
					
						
							|  |  |  |                   "category": "transfer tokens", | 
					
						
							|  |  |  |                   "displayName": "Read", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "action": "admin::transfer.tokens.regenerate", | 
					
						
							|  |  |  |                   "category": "transfer tokens", | 
					
						
							|  |  |  |                   "displayName": "Regenerate", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "action": "admin::transfer.tokens.update", | 
					
						
							|  |  |  |                   "category": "transfer tokens", | 
					
						
							|  |  |  |                   "displayName": "Update", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "action": "admin::users.create", | 
					
						
							|  |  |  |                   "category": "users and roles", | 
					
						
							|  |  |  |                   "displayName": "Create (invite)", | 
					
						
							|  |  |  |                   "subCategory": "users", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "action": "admin::users.delete", | 
					
						
							|  |  |  |                   "category": "users and roles", | 
					
						
							|  |  |  |                   "displayName": "Delete", | 
					
						
							|  |  |  |                   "subCategory": "users", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "action": "admin::users.read", | 
					
						
							|  |  |  |                   "category": "users and roles", | 
					
						
							|  |  |  |                   "displayName": "Read", | 
					
						
							|  |  |  |                   "subCategory": "users", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "action": "admin::users.update", | 
					
						
							|  |  |  |                   "category": "users and roles", | 
					
						
							|  |  |  |                   "displayName": "Update", | 
					
						
							|  |  |  |                   "subCategory": "users", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "action": "admin::webhooks.create", | 
					
						
							|  |  |  |                   "category": "webhooks", | 
					
						
							|  |  |  |                   "displayName": "Create", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "action": "admin::webhooks.delete", | 
					
						
							|  |  |  |                   "category": "webhooks", | 
					
						
							|  |  |  |                   "displayName": "Delete", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "action": "admin::webhooks.read", | 
					
						
							|  |  |  |                   "category": "webhooks", | 
					
						
							|  |  |  |                   "displayName": "Read", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                   "action": "admin::webhooks.update", | 
					
						
							|  |  |  |                   "category": "webhooks", | 
					
						
							|  |  |  |                   "displayName": "Update", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							|  |  |  |                   "action": "plugin::documentation.settings.read", | 
					
						
							|  |  |  |                   "category": "documentation", | 
					
						
							|  |  |  |                   "displayName": "Access the documentation settings page", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							| 
									
										
										
										
											2021-08-06 18:09:49 +02:00
										 |  |  |                   "action": "plugin::email.settings.read", | 
					
						
							| 
									
										
										
										
											2021-03-08 11:03:31 +01:00
										 |  |  |                   "category": "email", | 
					
						
							|  |  |  |                   "displayName": "Access the Email Settings page", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 { | 
					
						
							| 
									
										
										
										
											2023-03-06 21:46:45 +01:00
										 |  |  |                   "action": "plugin::i18n.locale.create", | 
					
						
							|  |  |  |                   "category": "Internationalization", | 
					
						
							|  |  |  |                   "displayName": "Create", | 
					
						
							|  |  |  |                   "subCategory": "Locales", | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "action": "plugin::i18n.locale.delete", | 
					
						
							|  |  |  |                   "category": "Internationalization", | 
					
						
							|  |  |  |                   "displayName": "Delete", | 
					
						
							|  |  |  |                   "subCategory": "Locales", | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "action": "plugin::i18n.locale.read", | 
					
						
							|  |  |  |                   "category": "Internationalization", | 
					
						
							|  |  |  |                   "displayName": "Read", | 
					
						
							|  |  |  |                   "subCategory": "Locales", | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "action": "plugin::i18n.locale.update", | 
					
						
							|  |  |  |                   "category": "Internationalization", | 
					
						
							|  |  |  |                   "displayName": "Update", | 
					
						
							|  |  |  |                   "subCategory": "Locales", | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "action": "plugin::upload.settings.read", | 
					
						
							|  |  |  |                   "category": "media library", | 
					
						
							|  |  |  |                   "displayName": "Access the Media Library settings page", | 
					
						
							|  |  |  |                   "subCategory": "general", | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |               ], | 
					
						
							|  |  |  |               "singleTypes": [ | 
					
						
							|  |  |  |                 [ | 
					
						
							|  |  |  |                   { | 
					
						
							|  |  |  |                     "actionId": "plugin::content-manager.explorer.create", | 
					
						
							|  |  |  |                     "applyToProperties": [ | 
					
						
							|  |  |  |                       "fields", | 
					
						
							|  |  |  |                       "locales", | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                     "label": "Create", | 
					
						
							|  |  |  |                     "subjects": [ | 
					
						
							|  |  |  |                       "plugin::users-permissions.user", | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                   }, | 
					
						
							|  |  |  |                   { | 
					
						
							|  |  |  |                     "actionId": "plugin::content-manager.explorer.read", | 
					
						
							|  |  |  |                     "applyToProperties": [ | 
					
						
							|  |  |  |                       "fields", | 
					
						
							|  |  |  |                       "locales", | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                     "label": "Read", | 
					
						
							|  |  |  |                     "subjects": [ | 
					
						
							|  |  |  |                       "plugin::users-permissions.user", | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                   }, | 
					
						
							|  |  |  |                   { | 
					
						
							|  |  |  |                     "actionId": "plugin::content-manager.explorer.update", | 
					
						
							|  |  |  |                     "applyToProperties": [ | 
					
						
							|  |  |  |                       "fields", | 
					
						
							|  |  |  |                       "locales", | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                     "label": "Update", | 
					
						
							|  |  |  |                     "subjects": [ | 
					
						
							|  |  |  |                       "plugin::users-permissions.user", | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                   }, | 
					
						
							|  |  |  |                   { | 
					
						
							|  |  |  |                     "actionId": "plugin::content-manager.explorer.delete", | 
					
						
							|  |  |  |                     "applyToProperties": [ | 
					
						
							|  |  |  |                       "locales", | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                     "label": "Delete", | 
					
						
							|  |  |  |                     "subjects": [ | 
					
						
							|  |  |  |                       "plugin::users-permissions.user", | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                   }, | 
					
						
							|  |  |  |                   { | 
					
						
							|  |  |  |                     "actionId": "plugin::content-manager.explorer.publish", | 
					
						
							|  |  |  |                     "applyToProperties": [ | 
					
						
							|  |  |  |                       "locales", | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                     "label": "Publish", | 
					
						
							|  |  |  |                     "subjects": [], | 
					
						
							|  |  |  |                   }, | 
					
						
							|  |  |  |                 ], | 
					
						
							|  |  |  |                 [], | 
					
						
							|  |  |  |               ], | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         `);
 | 
					
						
							|  |  |  |     } else { | 
					
						
							|  |  |  |       expect(sortedData).toMatchInlineSnapshot(`
 | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |           "conditions": [ | 
					
						
							|  |  |  |             { | 
					
						
							|  |  |  |               "category": "default", | 
					
						
							|  |  |  |               "displayName": "Is creator", | 
					
						
							|  |  |  |               "id": "admin::is-creator", | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             { | 
					
						
							|  |  |  |               "category": "default", | 
					
						
							|  |  |  |               "displayName": "Has same role as creator", | 
					
						
							|  |  |  |               "id": "admin::has-same-role-as-creator", | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |           ], | 
					
						
							|  |  |  |           "sections": { | 
					
						
							|  |  |  |             "collectionTypes": [ | 
					
						
							|  |  |  |               [ | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "actionId": "plugin::content-manager.explorer.create", | 
					
						
							|  |  |  |                   "applyToProperties": [ | 
					
						
							|  |  |  |                     "fields", | 
					
						
							|  |  |  |                     "locales", | 
					
						
							|  |  |  |                   ], | 
					
						
							|  |  |  |                   "label": "Create", | 
					
						
							|  |  |  |                   "subjects": [ | 
					
						
							|  |  |  |                     "plugin::users-permissions.user", | 
					
						
							|  |  |  |                   ], | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "actionId": "plugin::content-manager.explorer.read", | 
					
						
							|  |  |  |                   "applyToProperties": [ | 
					
						
							|  |  |  |                     "fields", | 
					
						
							|  |  |  |                     "locales", | 
					
						
							|  |  |  |                   ], | 
					
						
							|  |  |  |                   "label": "Read", | 
					
						
							|  |  |  |                   "subjects": [ | 
					
						
							|  |  |  |                     "plugin::users-permissions.user", | 
					
						
							|  |  |  |                   ], | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "actionId": "plugin::content-manager.explorer.update", | 
					
						
							|  |  |  |                   "applyToProperties": [ | 
					
						
							|  |  |  |                     "fields", | 
					
						
							|  |  |  |                     "locales", | 
					
						
							|  |  |  |                   ], | 
					
						
							|  |  |  |                   "label": "Update", | 
					
						
							|  |  |  |                   "subjects": [ | 
					
						
							|  |  |  |                     "plugin::users-permissions.user", | 
					
						
							|  |  |  |                   ], | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "actionId": "plugin::content-manager.explorer.delete", | 
					
						
							|  |  |  |                   "applyToProperties": [ | 
					
						
							|  |  |  |                     "locales", | 
					
						
							|  |  |  |                   ], | 
					
						
							|  |  |  |                   "label": "Delete", | 
					
						
							|  |  |  |                   "subjects": [ | 
					
						
							|  |  |  |                     "plugin::users-permissions.user", | 
					
						
							|  |  |  |                   ], | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "actionId": "plugin::content-manager.explorer.publish", | 
					
						
							|  |  |  |                   "applyToProperties": [ | 
					
						
							|  |  |  |                     "locales", | 
					
						
							|  |  |  |                   ], | 
					
						
							|  |  |  |                   "label": "Publish", | 
					
						
							|  |  |  |                   "subjects": [], | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |               ], | 
					
						
							|  |  |  |               [ | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "label": "user", | 
					
						
							|  |  |  |                   "properties": [ | 
					
						
							|  |  |  |                     { | 
					
						
							|  |  |  |                       "children": [ | 
					
						
							|  |  |  |                         { | 
					
						
							|  |  |  |                           "label": "username", | 
					
						
							|  |  |  |                           "required": true, | 
					
						
							|  |  |  |                           "value": "username", | 
					
						
							|  |  |  |                         }, | 
					
						
							|  |  |  |                         { | 
					
						
							|  |  |  |                           "label": "email", | 
					
						
							|  |  |  |                           "required": true, | 
					
						
							|  |  |  |                           "value": "email", | 
					
						
							|  |  |  |                         }, | 
					
						
							|  |  |  |                         { | 
					
						
							|  |  |  |                           "label": "provider", | 
					
						
							|  |  |  |                           "value": "provider", | 
					
						
							|  |  |  |                         }, | 
					
						
							|  |  |  |                         { | 
					
						
							|  |  |  |                           "label": "password", | 
					
						
							|  |  |  |                           "value": "password", | 
					
						
							|  |  |  |                         }, | 
					
						
							|  |  |  |                         { | 
					
						
							|  |  |  |                           "label": "resetPasswordToken", | 
					
						
							|  |  |  |                           "value": "resetPasswordToken", | 
					
						
							|  |  |  |                         }, | 
					
						
							|  |  |  |                         { | 
					
						
							|  |  |  |                           "label": "confirmationToken", | 
					
						
							|  |  |  |                           "value": "confirmationToken", | 
					
						
							|  |  |  |                         }, | 
					
						
							|  |  |  |                         { | 
					
						
							|  |  |  |                           "label": "confirmed", | 
					
						
							|  |  |  |                           "value": "confirmed", | 
					
						
							|  |  |  |                         }, | 
					
						
							|  |  |  |                         { | 
					
						
							|  |  |  |                           "label": "blocked", | 
					
						
							|  |  |  |                           "value": "blocked", | 
					
						
							|  |  |  |                         }, | 
					
						
							|  |  |  |                         { | 
					
						
							|  |  |  |                           "label": "role", | 
					
						
							|  |  |  |                           "value": "role", | 
					
						
							|  |  |  |                         }, | 
					
						
							|  |  |  |                       ], | 
					
						
							|  |  |  |                       "label": "Fields", | 
					
						
							|  |  |  |                       "value": "fields", | 
					
						
							|  |  |  |                     }, | 
					
						
							|  |  |  |                   ], | 
					
						
							|  |  |  |                   "uid": "plugin::users-permissions.user", | 
					
						
							|  |  |  |                 }, | 
					
						
							|  |  |  |               ], | 
					
						
							|  |  |  |             ], | 
					
						
							|  |  |  |             "plugins": [ | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::content-manager.collection-types.configure-view", | 
					
						
							|  |  |  |                 "displayName": "Configure view", | 
					
						
							|  |  |  |                 "plugin": "content-manager", | 
					
						
							|  |  |  |                 "subCategory": "collection types", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::content-manager.components.configure-layout", | 
					
						
							|  |  |  |                 "displayName": "Configure Layout", | 
					
						
							|  |  |  |                 "plugin": "content-manager", | 
					
						
							|  |  |  |                 "subCategory": "components", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::content-manager.single-types.configure-view", | 
					
						
							|  |  |  |                 "displayName": "Configure view", | 
					
						
							|  |  |  |                 "plugin": "content-manager", | 
					
						
							|  |  |  |                 "subCategory": "single types", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::content-type-builder.read", | 
					
						
							|  |  |  |                 "displayName": "Read", | 
					
						
							|  |  |  |                 "plugin": "content-type-builder", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::documentation.read", | 
					
						
							|  |  |  |                 "displayName": "Access the Documentation", | 
					
						
							|  |  |  |                 "plugin": "documentation", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::documentation.settings.regenerate", | 
					
						
							|  |  |  |                 "displayName": "Regenerate", | 
					
						
							|  |  |  |                 "plugin": "documentation", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::documentation.settings.update", | 
					
						
							|  |  |  |                 "displayName": "Update and delete", | 
					
						
							|  |  |  |                 "plugin": "documentation", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::upload.assets.copy-link", | 
					
						
							|  |  |  |                 "displayName": "Copy link", | 
					
						
							|  |  |  |                 "plugin": "upload", | 
					
						
							|  |  |  |                 "subCategory": "assets", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::upload.assets.create", | 
					
						
							|  |  |  |                 "displayName": "Create (upload)", | 
					
						
							|  |  |  |                 "plugin": "upload", | 
					
						
							|  |  |  |                 "subCategory": "assets", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::upload.assets.download", | 
					
						
							|  |  |  |                 "displayName": "Download", | 
					
						
							|  |  |  |                 "plugin": "upload", | 
					
						
							|  |  |  |                 "subCategory": "assets", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::upload.assets.update", | 
					
						
							|  |  |  |                 "displayName": "Update (crop, details, replace) + delete", | 
					
						
							|  |  |  |                 "plugin": "upload", | 
					
						
							|  |  |  |                 "subCategory": "assets", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::upload.configure-view", | 
					
						
							|  |  |  |                 "displayName": "Configure view", | 
					
						
							|  |  |  |                 "plugin": "upload", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::upload.read", | 
					
						
							|  |  |  |                 "displayName": "Access the Media Library", | 
					
						
							|  |  |  |                 "plugin": "upload", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::users-permissions.advanced-settings.read", | 
					
						
							|  |  |  |                 "displayName": "Read", | 
					
						
							|  |  |  |                 "plugin": "users-permissions", | 
					
						
							|  |  |  |                 "subCategory": "advancedSettings", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::users-permissions.advanced-settings.update", | 
					
						
							|  |  |  |                 "displayName": "Edit", | 
					
						
							|  |  |  |                 "plugin": "users-permissions", | 
					
						
							|  |  |  |                 "subCategory": "advancedSettings", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::users-permissions.email-templates.read", | 
					
						
							|  |  |  |                 "displayName": "Read", | 
					
						
							|  |  |  |                 "plugin": "users-permissions", | 
					
						
							|  |  |  |                 "subCategory": "emailTemplates", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::users-permissions.email-templates.update", | 
					
						
							|  |  |  |                 "displayName": "Edit", | 
					
						
							|  |  |  |                 "plugin": "users-permissions", | 
					
						
							|  |  |  |                 "subCategory": "emailTemplates", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::users-permissions.providers.read", | 
					
						
							|  |  |  |                 "displayName": "Read", | 
					
						
							|  |  |  |                 "plugin": "users-permissions", | 
					
						
							|  |  |  |                 "subCategory": "providers", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::users-permissions.providers.update", | 
					
						
							|  |  |  |                 "displayName": "Edit", | 
					
						
							|  |  |  |                 "plugin": "users-permissions", | 
					
						
							|  |  |  |                 "subCategory": "providers", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::users-permissions.roles.create", | 
					
						
							|  |  |  |                 "displayName": "Create", | 
					
						
							|  |  |  |                 "plugin": "users-permissions", | 
					
						
							|  |  |  |                 "subCategory": "roles", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::users-permissions.roles.delete", | 
					
						
							|  |  |  |                 "displayName": "Delete", | 
					
						
							|  |  |  |                 "plugin": "users-permissions", | 
					
						
							|  |  |  |                 "subCategory": "roles", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::users-permissions.roles.read", | 
					
						
							|  |  |  |                 "displayName": "Read", | 
					
						
							|  |  |  |                 "plugin": "users-permissions", | 
					
						
							|  |  |  |                 "subCategory": "roles", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::users-permissions.roles.update", | 
					
						
							|  |  |  |                 "displayName": "Update", | 
					
						
							|  |  |  |                 "plugin": "users-permissions", | 
					
						
							|  |  |  |                 "subCategory": "roles", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |             ], | 
					
						
							|  |  |  |             "settings": [ | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::api-tokens.access", | 
					
						
							|  |  |  |                 "category": "api tokens", | 
					
						
							|  |  |  |                 "displayName": "Access the API tokens settings page", | 
					
						
							|  |  |  |                 "subCategory": "api Tokens", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::api-tokens.create", | 
					
						
							|  |  |  |                 "category": "api tokens", | 
					
						
							|  |  |  |                 "displayName": "Create (generate)", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::api-tokens.delete", | 
					
						
							|  |  |  |                 "category": "api tokens", | 
					
						
							|  |  |  |                 "displayName": "Delete (revoke)", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::api-tokens.read", | 
					
						
							|  |  |  |                 "category": "api tokens", | 
					
						
							|  |  |  |                 "displayName": "Read", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::api-tokens.regenerate", | 
					
						
							|  |  |  |                 "category": "api tokens", | 
					
						
							|  |  |  |                 "displayName": "Regenerate", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::api-tokens.update", | 
					
						
							|  |  |  |                 "category": "api tokens", | 
					
						
							|  |  |  |                 "displayName": "Update", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::marketplace.read", | 
					
						
							|  |  |  |                 "category": "plugins and marketplace", | 
					
						
							|  |  |  |                 "displayName": "Access the marketplace", | 
					
						
							|  |  |  |                 "subCategory": "marketplace", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::project-settings.read", | 
					
						
							|  |  |  |                 "category": "project", | 
					
						
							|  |  |  |                 "displayName": "Read the project level settings", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::project-settings.update", | 
					
						
							|  |  |  |                 "category": "project", | 
					
						
							|  |  |  |                 "displayName": "Update the project level settings", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::roles.create", | 
					
						
							|  |  |  |                 "category": "users and roles", | 
					
						
							|  |  |  |                 "displayName": "Create", | 
					
						
							|  |  |  |                 "subCategory": "roles", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::roles.delete", | 
					
						
							|  |  |  |                 "category": "users and roles", | 
					
						
							|  |  |  |                 "displayName": "Delete", | 
					
						
							|  |  |  |                 "subCategory": "roles", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::roles.read", | 
					
						
							|  |  |  |                 "category": "users and roles", | 
					
						
							|  |  |  |                 "displayName": "Read", | 
					
						
							|  |  |  |                 "subCategory": "roles", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::roles.update", | 
					
						
							|  |  |  |                 "category": "users and roles", | 
					
						
							|  |  |  |                 "displayName": "Update", | 
					
						
							|  |  |  |                 "subCategory": "roles", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::transfer.tokens.access", | 
					
						
							|  |  |  |                 "category": "transfer tokens", | 
					
						
							|  |  |  |                 "displayName": "Access the transfer tokens settings page", | 
					
						
							|  |  |  |                 "subCategory": "transfer tokens", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::transfer.tokens.create", | 
					
						
							|  |  |  |                 "category": "transfer tokens", | 
					
						
							|  |  |  |                 "displayName": "Create (generate)", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::transfer.tokens.delete", | 
					
						
							|  |  |  |                 "category": "transfer tokens", | 
					
						
							|  |  |  |                 "displayName": "Delete (revoke)", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::transfer.tokens.read", | 
					
						
							|  |  |  |                 "category": "transfer tokens", | 
					
						
							|  |  |  |                 "displayName": "Read", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::transfer.tokens.regenerate", | 
					
						
							|  |  |  |                 "category": "transfer tokens", | 
					
						
							|  |  |  |                 "displayName": "Regenerate", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::transfer.tokens.update", | 
					
						
							|  |  |  |                 "category": "transfer tokens", | 
					
						
							|  |  |  |                 "displayName": "Update", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::users.create", | 
					
						
							|  |  |  |                 "category": "users and roles", | 
					
						
							|  |  |  |                 "displayName": "Create (invite)", | 
					
						
							|  |  |  |                 "subCategory": "users", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::users.delete", | 
					
						
							|  |  |  |                 "category": "users and roles", | 
					
						
							|  |  |  |                 "displayName": "Delete", | 
					
						
							|  |  |  |                 "subCategory": "users", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::users.read", | 
					
						
							|  |  |  |                 "category": "users and roles", | 
					
						
							|  |  |  |                 "displayName": "Read", | 
					
						
							|  |  |  |                 "subCategory": "users", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::users.update", | 
					
						
							|  |  |  |                 "category": "users and roles", | 
					
						
							|  |  |  |                 "displayName": "Update", | 
					
						
							|  |  |  |                 "subCategory": "users", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::webhooks.create", | 
					
						
							|  |  |  |                 "category": "webhooks", | 
					
						
							|  |  |  |                 "displayName": "Create", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::webhooks.delete", | 
					
						
							|  |  |  |                 "category": "webhooks", | 
					
						
							|  |  |  |                 "displayName": "Delete", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::webhooks.read", | 
					
						
							|  |  |  |                 "category": "webhooks", | 
					
						
							|  |  |  |                 "displayName": "Read", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "admin::webhooks.update", | 
					
						
							|  |  |  |                 "category": "webhooks", | 
					
						
							|  |  |  |                 "displayName": "Update", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::documentation.settings.read", | 
					
						
							|  |  |  |                 "category": "documentation", | 
					
						
							|  |  |  |                 "displayName": "Access the documentation settings page", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::email.settings.read", | 
					
						
							|  |  |  |                 "category": "email", | 
					
						
							|  |  |  |                 "displayName": "Access the Email Settings page", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::i18n.locale.create", | 
					
						
							|  |  |  |                 "category": "Internationalization", | 
					
						
							|  |  |  |                 "displayName": "Create", | 
					
						
							|  |  |  |                 "subCategory": "Locales", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::i18n.locale.delete", | 
					
						
							|  |  |  |                 "category": "Internationalization", | 
					
						
							|  |  |  |                 "displayName": "Delete", | 
					
						
							|  |  |  |                 "subCategory": "Locales", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::i18n.locale.read", | 
					
						
							|  |  |  |                 "category": "Internationalization", | 
					
						
							|  |  |  |                 "displayName": "Read", | 
					
						
							|  |  |  |                 "subCategory": "Locales", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::i18n.locale.update", | 
					
						
							|  |  |  |                 "category": "Internationalization", | 
					
						
							|  |  |  |                 "displayName": "Update", | 
					
						
							|  |  |  |                 "subCategory": "Locales", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               { | 
					
						
							|  |  |  |                 "action": "plugin::upload.settings.read", | 
					
						
							|  |  |  |                 "category": "media library", | 
					
						
							|  |  |  |                 "displayName": "Access the Media Library settings page", | 
					
						
							|  |  |  |                 "subCategory": "general", | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |             ], | 
					
						
							|  |  |  |             "singleTypes": [ | 
					
						
							|  |  |  |               [ | 
					
						
							|  |  |  |                 { | 
					
						
							|  |  |  |                   "actionId": "plugin::content-manager.explorer.create", | 
					
						
							|  |  |  |                   "applyToProperties": [ | 
					
						
							|  |  |  |                     "fields", | 
					
						
							|  |  |  |                     "locales", | 
					
						
							|  |  |  |                   ], | 
					
						
							|  |  |  |                   "label": "Create", | 
					
						
							|  |  |  |                   "subjects": [ | 
					
						
							|  |  |  |                     "plugin::users-permissions.user", | 
					
						
							|  |  |  |                   ], | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							| 
									
										
										
										
											2023-03-06 21:46:45 +01:00
										 |  |  |                   "actionId": "plugin::content-manager.explorer.read", | 
					
						
							|  |  |  |                   "applyToProperties": [ | 
					
						
							|  |  |  |                     "fields", | 
					
						
							|  |  |  |                     "locales", | 
					
						
							|  |  |  |                   ], | 
					
						
							|  |  |  |                   "label": "Read", | 
					
						
							|  |  |  |                   "subjects": [ | 
					
						
							|  |  |  |                     "plugin::users-permissions.user", | 
					
						
							|  |  |  |                   ], | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							| 
									
										
										
										
											2023-03-06 21:46:45 +01:00
										 |  |  |                   "actionId": "plugin::content-manager.explorer.update", | 
					
						
							|  |  |  |                   "applyToProperties": [ | 
					
						
							|  |  |  |                     "fields", | 
					
						
							|  |  |  |                     "locales", | 
					
						
							|  |  |  |                   ], | 
					
						
							|  |  |  |                   "label": "Update", | 
					
						
							|  |  |  |                   "subjects": [ | 
					
						
							|  |  |  |                     "plugin::users-permissions.user", | 
					
						
							|  |  |  |                   ], | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							| 
									
										
										
										
											2023-03-06 21:46:45 +01:00
										 |  |  |                   "actionId": "plugin::content-manager.explorer.delete", | 
					
						
							|  |  |  |                   "applyToProperties": [ | 
					
						
							|  |  |  |                     "locales", | 
					
						
							|  |  |  |                   ], | 
					
						
							|  |  |  |                   "label": "Delete", | 
					
						
							|  |  |  |                   "subjects": [ | 
					
						
							|  |  |  |                     "plugin::users-permissions.user", | 
					
						
							|  |  |  |                   ], | 
					
						
							| 
									
										
										
										
											2022-09-08 00:08:59 +02:00
										 |  |  |                 }, | 
					
						
							|  |  |  |                 { | 
					
						
							| 
									
										
										
										
											2023-03-06 21:46:45 +01:00
										 |  |  |                   "actionId": "plugin::content-manager.explorer.publish", | 
					
						
							|  |  |  |                   "applyToProperties": [ | 
					
						
							|  |  |  |                     "locales", | 
					
						
							|  |  |  |                   ], | 
					
						
							|  |  |  |                   "label": "Publish", | 
					
						
							|  |  |  |                   "subjects": [], | 
					
						
							| 
									
										
										
										
											2021-01-28 16:07:54 +01:00
										 |  |  |                 }, | 
					
						
							|  |  |  |               ], | 
					
						
							| 
									
										
										
										
											2023-03-06 21:46:45 +01:00
										 |  |  |               [], | 
					
						
							|  |  |  |             ], | 
					
						
							|  |  |  |           }, | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       `);
 | 
					
						
							| 
									
										
										
										
											2020-12-21 17:11:48 +01:00
										 |  |  |     } | 
					
						
							| 
									
										
										
										
											2020-06-04 18:30:26 +02:00
										 |  |  |   }); | 
					
						
							|  |  |  | }); |