-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Short description of the issue
Most of the Roles hooks don't work
These work
Roles::deleteReady
Roles::deleted
Roles::saveReady
Roles::saved
but these don't work
Roles::add
Roles::delete
Roles::save
Roles::added
Expected behavior
They should work :)
Actual behavior
They don't work :) :)
Steps to reproduce the issue
Add this to ready.php and then create a new role.
$this->addHookBefore("Roles::added", function($event) {
wire('log')->save('testing', 'Roles::added');
});
Nothing will appear in the log file.
This has been confirmed by others: https://processwire.com/talk/topic/17087-roles-hooks-not-working/
Setup/Environment
- ProcessWire version: 3.0.73, 2.8.62, 2.7.3
BernhardBaumrock and Toutouwai