Resource functions
Collection functions
Search functions
IIIF
Metadata functions
User functions
System
Message functions
Plugin functions

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.