Y export privacy.pl

From EPrints Documentation
Revision as of 14:31, 18 July 2024 by Drn@ecs.soton.ac.uk (talk | contribs) (Added y_export_privacy.pl)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


Back to cfg.d

y_export_privacy.pl specifies which export plugins should be restricted to staff only, as they may contain information that is a privacy concern, (e.g. email addresses).

Example

if ( defined $c->{export_privacy} && $c->{export_privacy} )
{
    $c->{plugins}->{"Export::JSON"}->{params}->{visible} = "staff";
    $c->{plugins}->{"Export::XML"}->{params}->{visible} = "staff";
    $c->{plugins}->{"Export::RDFN3"}->{params}->{visible} = "staff";
    $c->{plugins}->{"Export::RDFNT"}->{params}->{visible} = "staff";
    $c->{plugins}->{"Export::RDFXML"}->{params}->{visible} = "staff";
    $c->{plugins}->{"Export::CSV"}->{params}->{visible} = "staff";
    $c->{plugins}->{"Export::Simple"}->{params}->{visible} = "staff";
}