English (United Kingdom)

public function alwaysAllowed() : bool

Fires while checking the accessibility of the event.


Description

Returns true if the plugin is always authorised, otherwise false. When this value is false, the system will need to authorise the plugin through the ACL of the user.

In case the plugin doesn't override this method, it will be possibile to choose from the configuration of the user whether it is allowed or not to execute this event. Alternatively, in case the overloaded method always returns true, the user configuration won't allow the possibility to disable the execution of this event.

Even if the plugin is always allowed, only authenticated users are able to execute it.


Return Value

Boolean. Returns true to always allow the execution of the event for all the logged in users.

Last Update: 2022-01-28
Helpful?
This site uses cookies. By continuing to browse you accept their use. Further information