Administrationcore code, each module is defined in a directory called
module. Modules define routes which can be extended with
routeMiddleware. To see what else you can customize in existing modules, have a look at this guide
moduleis an encapsulated unit which implements a whole feature. For example there are modules for customers, orders, settings, etc.
routeMiddleware. You can add those changes to your
main.jsfile, which could then look like this:
routeMiddlewarechanges the required privileges for the
product.editor. The rest of the route configurations stays the same in this example.