ContentModule::canEdit
This function should return true if the current user can edit this page. It can be overloaded to customise the security model for an application.
Denies permission if any of the following conditions is TRUE: - canEdit() on any extension returns FALSE
Signature
public function canEdit([Member
$member = NULL] )
Parameters
$member
— object- Set to FALSE if you want to explicitly test permissions without a valid user (useful for unit tests)
Returns
- boolean
- True if the current user can edit this page.