Elgg
Version master
|
Allow commenting on any container. More...
Public Member Functions | |
__invoke (\Elgg\Event $event) | |
Allow users to comment on entities not owned by them. More... | |
Allow commenting on any container.
Definition at line 10 of file ContainerPermissionsHandler.php.
Elgg\Comments\ContainerPermissionsHandler::__invoke | ( | \Elgg\Event | $event | ) |
Allow users to comment on entities not owned by them.
Object being commented on is used as the container of the comment so permission check must be overridden if user isn't the owner of the object.
\Elgg\Event | $event | 'container_permissions_check', 'object' |
Definition at line 22 of file ContainerPermissionsHandler.php.