get_edit_access

Check if current user has edit access to a resource. Checks the edit permissions (e0, e-1 etc.) and also the group edit filter which filters edit access based on resource metadata.

Variable Description Data type
$resource * Resource ID integer

Return values

TRUE if user has edit access to the resource, FALSE otherwise.