mirror of
https://github.com/strapi/strapi.git
synced 2025-07-19 23:16:47 +00:00
121 lines
2.8 KiB
JavaScript
121 lines
2.8 KiB
JavaScript
![]() |
module.exports = {
|
||
|
permissions: [
|
||
|
{
|
||
|
name: 'marketplace.read',
|
||
|
displayName: 'Can access to the marketplace',
|
||
|
pluginName: 'admin',
|
||
|
section: 'settings',
|
||
|
category: 'plugins and marketplace',
|
||
|
subCategory: 'marketplace',
|
||
|
},
|
||
|
{
|
||
|
name: 'marketplace.plugins.install',
|
||
|
displayName: 'Install (only for dev env)',
|
||
|
pluginName: 'admin',
|
||
|
section: 'settings',
|
||
|
category: 'plugins and marketplace',
|
||
|
subCategory: 'plugins',
|
||
|
},
|
||
|
{
|
||
|
name: 'marketplace.plugins.uninstall',
|
||
|
displayName: 'Uninstall (only for dev env)',
|
||
|
pluginName: 'admin',
|
||
|
section: 'settings',
|
||
|
category: 'plugins and marketplace',
|
||
|
subCategory: 'plugins',
|
||
|
},
|
||
|
{
|
||
|
name: 'webhooks.create',
|
||
|
displayName: 'Create',
|
||
|
pluginName: 'admin',
|
||
|
section: 'settings',
|
||
|
category: 'webhooks',
|
||
|
},
|
||
|
{
|
||
|
name: 'webhooks.read',
|
||
|
displayName: 'Read',
|
||
|
pluginName: 'admin',
|
||
|
section: 'settings',
|
||
|
category: 'webhooks',
|
||
|
},
|
||
|
{
|
||
|
name: 'webhooks.update',
|
||
|
displayName: 'Update',
|
||
|
pluginName: 'admin',
|
||
|
section: 'settings',
|
||
|
category: 'webhooks',
|
||
|
},
|
||
|
{
|
||
|
name: 'webhooks.delete',
|
||
|
displayName: 'Delete',
|
||
|
pluginName: 'admin',
|
||
|
section: 'settings',
|
||
|
category: 'webhooks',
|
||
|
},
|
||
|
{
|
||
|
name: 'users.create',
|
||
|
displayName: 'Create (invite)',
|
||
|
pluginName: 'admin',
|
||
|
section: 'settings',
|
||
|
category: 'users and roles',
|
||
|
subCategory: 'users',
|
||
|
},
|
||
|
{
|
||
|
name: 'users.read',
|
||
|
displayName: 'Read',
|
||
|
pluginName: 'admin',
|
||
|
section: 'settings',
|
||
|
category: 'users and roles',
|
||
|
subCategory: 'users',
|
||
|
},
|
||
|
{
|
||
|
name: 'users.update',
|
||
|
displayName: 'Update',
|
||
|
pluginName: 'admin',
|
||
|
section: 'settings',
|
||
|
category: 'users and roles',
|
||
|
subCategory: 'users',
|
||
|
},
|
||
|
{
|
||
|
name: 'users.delete',
|
||
|
displayName: 'Delete',
|
||
|
pluginName: 'admin',
|
||
|
section: 'settings',
|
||
|
category: 'users and roles',
|
||
|
subCategory: 'users',
|
||
|
},
|
||
|
{
|
||
|
name: 'roles.create',
|
||
|
displayName: 'Create',
|
||
|
pluginName: 'admin',
|
||
|
section: 'settings',
|
||
|
category: 'users and roles',
|
||
|
subCategory: 'roles',
|
||
|
},
|
||
|
{
|
||
|
name: 'roles.read',
|
||
|
displayName: 'Read',
|
||
|
pluginName: 'admin',
|
||
|
section: 'settings',
|
||
|
category: 'users and roles',
|
||
|
subCategory: 'roles',
|
||
|
},
|
||
|
{
|
||
|
name: 'roles.update',
|
||
|
displayName: 'Update',
|
||
|
pluginName: 'admin',
|
||
|
section: 'settings',
|
||
|
category: 'users and roles',
|
||
|
subCategory: 'roles',
|
||
|
},
|
||
|
{
|
||
|
name: 'roles.delete',
|
||
|
displayName: 'Delete',
|
||
|
pluginName: 'admin',
|
||
|
section: 'settings',
|
||
|
category: 'users and roles',
|
||
|
subCategory: 'roles',
|
||
|
},
|
||
|
],
|
||
|
};
|