strapi-plugin-content-manager
Version:
A powerful UI to easily manage your data.
28 lines (26 loc) • 770 B
JavaScript
const pluginPermissions = {
// This permission regards the main component (App) and is used to tell
// If the plugin link should be displayed in the menu
// And also if the plugin is accessible. This use case is found when a user types the url of the
// plugin directly in the browser
main: [],
collectionTypesConfigurations: [
{
action: 'plugins::content-manager.collection-types.configure-view',
subject: null,
},
],
componentsConfigurations: [
{
action: 'plugins::content-manager.components.configure-layout',
subject: null,
},
],
singleTypesConfigurations: [
{
action: 'plugins::content-manager.single-types.configure-view',
subject: null,
},
],
};
export default pluginPermissions;