strapi/packages/core/email/admin/src/permissions.js
2021-08-06 18:09:49 +02:00

10 lines
403 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
settings: [{ action: 'plugin::email.settings.read', subject: null }],
};
export default pluginPermissions;