auth icon indicating copy to clipboard operation
auth copied to clipboard

rbac

Open tgoeminne opened this issue 9 months ago • 2 comments

https://github.com/CakeDC/auth/blob/master/Docs/Documentation/SimpleRbacAuthorize.md

on the docs I find config['Auth']['authorize']['CakeDC/Users.SimpleRbac'] ..... 'log' => false

I try change the setting by using 'Auth.authorize.CakeDC/Users.SimpleRbac.log' => false, in users config.

but get the warning Users plugin configuration key "Auth.authorize" was removed, please check migration guide

tgoeminne avatar May 02 '24 02:05 tgoeminne

I did change the code like this I dont want to log every rule matched into a log file...

if (!isset($config['log'])) { $config['log'] = false; }

tgoeminne avatar May 02 '24 03:05 tgoeminne

I see you are using users plugin, add this config 'Auth.RbacPolicy.adapter.log' => false

rochamarcelo avatar May 03 '24 15:05 rochamarcelo