Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video 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 7942 to 7945

Definition

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

This article was last updated 24th November 2020 18:05 Europe/London time based on the source file dated 13th November 2020 16:50 Europe/London time.