const i18nPermissions = {
  accessMain: [
    { action: 'plugins::i18n.locale.read', subject: null },
    { action: 'plugins::i18n.locale.create', 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;

const i18nPermissions = {
  accessMain: [
    { action: 'plugins::i18n.locale.read', subject: null },
    { action: 'plugins::i18n.locale.create', 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;

fix typo on permissions (#9447)