Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rbac #87

Open
tgoeminne opened this issue May 2, 2024 · 2 comments
Open

rbac #87

tgoeminne opened this issue May 2, 2024 · 2 comments

Comments

@tgoeminne
Copy link

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
Copy link
Author

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;
}

@rochamarcelo
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants