Overview

In Omeka S, visibility can be set at the field level (public/private). These are notes on how to achieve this in Drupal.

Installation

comvpeonsdeorr./pbhianr/drreuqsuhireen'fdireulpda_lp/efrimeilsds_ipoenrsmissions:^1.4'

Configuration

Navigate to the edit page for a specific field of a content type, such as:

/admin/structure/types/manage/bib_1/fields/node.bib_1.field_003_permission_number

As shown below, you can configure the field visibility.

Programmatic Access

Field view permissions can be checked using the access function as follows.

Ge$$ftcfouir$i}treeffhrlaiceedceC(onDhlh!nltede$to_f(cfigui$=kingsnfeueeii$fledrtenid;-iloe-i=oddl>nnDeda\seEcuDfnvcsr=itieeuniesrp\itws'aDty(slri-p':uo>eva:pngriccasemecultiwor:a(s'ur:s$s,nesfitne$io$trfencUvilusiedreclNrredae((Nmn)'aet;em)_ne;utsi=et>ry)_$)fdie{eflidn.imtainoang)er{')->getFieldDefinitions('node',$nodeType);

Summary

There may be better approaches, but I hope this serves as a helpful reference for setting field-level visibility in Drupal.