Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

metadata_field_edit_access()

Description

Check the current user's edit access to given metadata field ID

Parameters

ColumnTypeDefaultDescription
$field int

Return

bool

Location

include/resource_functions.php lines 8394 to 8397

Definition

 
function metadata_field_edit_access($field)
    {
    return (!
checkperm("F*") || checkperm("F-" $field))&& !checkperm("F" $field);
    }

This article was last updated 27th April 2024 21:35 Europe/London time based on the source file dated 26th April 2024 11:50 Europe/London time.