Hi there,
Am using the newest version of the framework, 4.2, with the Authorisation plugin and been looking at baking the authorisation policy based on the database schema. Does anyone know if this is possible?
I would like to bake them all, hopefully by issuing one command instead of having to bake them all individually. The policy template file which is used during bake can be found in: “vendor\cakephp\authorization\templates\bake” but does anyone know how I can change this file so that bake will use the changed template etc?
I am using modified templates already and placed the above files inside “templates/plugin/bake” but it did not work.
I hope some of you can help.
Thanks