UseMuffin / Footprint

CakePHP plugin to allow passing currently logged in user to model layer.
MIT License
95 stars 23 forks source link

Is the Authentication plugin required for this plugin to work? #82

Closed TechFanDan closed 2 years ago

TechFanDan commented 2 years ago

I believe the application that I'm maintaining is using the Auth component (?)

$this->loadComponent('Auth', [
    'authorize' => 'Controller'
]);

I think I've gone through all the steps to install the Footprint plugin, but it's still not populating created_by and modified_by. I was wondering if the Authentication plugin was required for it to work?

ADmad commented 2 years ago

v3 of the plugin requires the Authentication plugin. You can use v2 instead which support the deprecated AuthComponent of the core too https://github.com/UseMuffin/Footprint/blob/2.0.3/README.md

TechFanDan commented 2 years ago

v3 of the plugin requires the Authentication plugin. You can use v2 instead which support the deprecated AuthComponent of the core too https://github.com/UseMuffin/Footprint/blob/2.0.3/README.md

v2 would work with CakePHP 4.3 (that I failed to mention previously) ?