I found a solution but i don’t know whether it’s the right way. According to the documentation ( Plugins extension - Strapi Developer Docs ) i create:
- a folder /extensions under /src
- a subfolder /users-permissions
- under /users-permissions i create the strapi-server.js file
The content of strapi-server.js is as follows:
module.exports = (plugin) => {
plugin.contentTypes.role.schema.pluginOptions = {
'content-manager': {
visible: true,
},
'content-type-builder': {
visible: true,
},
}
return plugin;
};
I hope it is the best way to reach the goal
Waiting for your feedback, thank you