I've installed the plugin as the getting started guide tells us.
I've been surprised that the administrator doesn't have all the permissions, even after executing the following command bim/console sylius-rbac:grant-access-to-given-administrator admin@test.fr administrator catalogManagement configuration customerManagement marketingManagement salesManagement.
I took a look into the database. I've been surprised to stumble upon these permissions data:
As you can see, the types are all camel-cased. The types in the \Odiseo\SyliusRbacPlugin\Model\Permission class are all snake-cased. If I change the case to be
I've installed the plugin as the getting started guide tells us.
I've been surprised that the administrator doesn't have all the permissions, even after executing the following command
bim/console sylius-rbac:grant-access-to-given-administrator admin@test.fr administrator catalogManagement configuration customerManagement marketingManagement salesManagement
.I took a look into the database. I've been surprised to stumble upon these permissions data:
As you can see, the types are all camel-cased. The types in the
\Odiseo\SyliusRbacPlugin\Model\Permission
class are all snake-cased. If I change the case to beall works, folks.
Should we update the documentation or something ?