strapi-plugin-users-permissions
Version:
Protect your API with a full-authentication process based on JWT
25 lines (21 loc) • 480 B
JavaScript
// const pluginId = require('../pluginId');
import pluginId from '../pluginId';
function didGetSecuredData() {
const {
props: { updatePlugin },
} = this;
const leftMenuSections = [
{
links: [
{
label: 'Users',
destination: 'user',
plugin: 'content-manager',
},
],
name: 'Content Types',
},
];
updatePlugin(pluginId, 'leftMenuSections', leftMenuSections);
}
export default didGetSecuredData;