Is there a way to implement roles to the users? What I need is to show or not the different actions a user can execute in the grid of the index action and in the view action of the related tables.
You can check how CakeDC implements their RBAC
Is there a command to install this plugin in console like the authentication plugin, or I have to add it manually?
For implementing roles for users I recommend the official authorization plugin It has a good and understandable documentation. You can install this plugin with the composer way ‘composer require cakephp/authorization:^2.0’