mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 18:08:11 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			185 lines
		
	
	
		
			4.3 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			185 lines
		
	
	
		
			4.3 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 'use strict';
 | |
| 
 | |
| module.exports = {
 | |
|   actions: [
 | |
|     {
 | |
|       uid: 'marketplace.read',
 | |
|       displayName: 'Access the marketplace',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'plugins and marketplace',
 | |
|       subCategory: 'marketplace',
 | |
|     },
 | |
|     {
 | |
|       uid: 'marketplace.plugins.install',
 | |
|       displayName: 'Install (only for dev env)',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'plugins and marketplace',
 | |
|       subCategory: 'plugins',
 | |
|     },
 | |
|     {
 | |
|       uid: 'marketplace.plugins.uninstall',
 | |
|       displayName: 'Uninstall (only for dev env)',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'plugins and marketplace',
 | |
|       subCategory: 'plugins',
 | |
|     },
 | |
|     {
 | |
|       uid: 'webhooks.create',
 | |
|       displayName: 'Create',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'webhooks',
 | |
|     },
 | |
|     {
 | |
|       uid: 'webhooks.read',
 | |
|       displayName: 'Read',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'webhooks',
 | |
|     },
 | |
|     {
 | |
|       uid: 'webhooks.update',
 | |
|       displayName: 'Update',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'webhooks',
 | |
|     },
 | |
|     {
 | |
|       uid: 'webhooks.delete',
 | |
|       displayName: 'Delete',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'webhooks',
 | |
|     },
 | |
|     {
 | |
|       uid: 'users.create',
 | |
|       displayName: 'Create (invite)',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'users and roles',
 | |
|       subCategory: 'users',
 | |
|     },
 | |
|     {
 | |
|       uid: 'users.read',
 | |
|       displayName: 'Read',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'users and roles',
 | |
|       subCategory: 'users',
 | |
|     },
 | |
|     {
 | |
|       uid: 'users.update',
 | |
|       displayName: 'Update',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'users and roles',
 | |
|       subCategory: 'users',
 | |
|     },
 | |
|     {
 | |
|       uid: 'users.delete',
 | |
|       displayName: 'Delete',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'users and roles',
 | |
|       subCategory: 'users',
 | |
|     },
 | |
|     {
 | |
|       uid: 'roles.create',
 | |
|       displayName: 'Create',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'users and roles',
 | |
|       subCategory: 'roles',
 | |
|     },
 | |
|     {
 | |
|       uid: 'roles.read',
 | |
|       displayName: 'Read',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'users and roles',
 | |
|       subCategory: 'roles',
 | |
|     },
 | |
|     {
 | |
|       uid: 'roles.update',
 | |
|       displayName: 'Update',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'users and roles',
 | |
|       subCategory: 'roles',
 | |
|     },
 | |
|     {
 | |
|       uid: 'roles.delete',
 | |
|       displayName: 'Delete',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'users and roles',
 | |
|       subCategory: 'roles',
 | |
|     },
 | |
|     {
 | |
|       uid: 'api-tokens.access',
 | |
|       displayName: 'Access the API tokens settings page',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'api tokens',
 | |
|       subCategory: 'api Tokens',
 | |
|     },
 | |
|     {
 | |
|       uid: 'api-tokens.create',
 | |
|       displayName: 'Create (generate)',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'api tokens',
 | |
|       subCategory: 'general',
 | |
|     },
 | |
|     {
 | |
|       uid: 'api-tokens.read',
 | |
|       displayName: 'Read',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'api tokens',
 | |
|       subCategory: 'general',
 | |
|     },
 | |
|     {
 | |
|       uid: 'api-tokens.update',
 | |
|       displayName: 'Update',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'api tokens',
 | |
|       subCategory: 'general',
 | |
|     },
 | |
|     {
 | |
|       uid: 'api-tokens.regenerate',
 | |
|       displayName: 'Regenerate',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'api tokens',
 | |
|       subCategory: 'general',
 | |
|     },
 | |
|     {
 | |
|       uid: 'api-tokens.delete',
 | |
|       displayName: 'Delete (revoke)',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'api tokens',
 | |
|       subCategory: 'general',
 | |
|     },
 | |
|     {
 | |
|       uid: 'project-settings.update',
 | |
|       displayName: 'Update the project level settings',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'project',
 | |
|     },
 | |
|     {
 | |
|       uid: 'project-settings.read',
 | |
|       displayName: 'Read the project level settings',
 | |
|       pluginName: 'admin',
 | |
|       section: 'settings',
 | |
|       category: 'project',
 | |
|     },
 | |
|   ],
 | |
| };
 | 
