strapi-plugin-i18n
Version:
This plugin enables to create, to read and to update content in different languages, both from the Admin Panel and from the API
10 lines (8 loc) • 410 B
JavaScript
const i18nPermissions = {
accessMain: [{ action: 'plugins::i18n.locale.read', subject: null }],
create: [{ action: 'plugins::i18n.locale.create', subject: null }],
delete: [{ action: 'plugins::i18n.locale.delete', subject: null }],
update: [{ action: 'plugins::i18n.locale.update', subject: null }],
read: [{ action: 'plugins::i18n.locale.read', subject: null }],
};
export default i18nPermissions;