Difference between revisions of "Y export privacy.pl"

From EPrints Documentation
Jump to: navigation, search
(Added y_export_privacy.pl)
 
(No difference)

Latest revision as of 14:31, 18 July 2024

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";
}