use Permission, not Event for isAuthorized() methods
View differences: inline side by side
Also available in: Unified diff
use Permission, not Event for isAuthorized() methods