checkPermissivePrivacyControlLevel {dsTidyverse}R Documentation

checkPermissivePrivacyControlLevel

Description

This serverside function check that the server is running in "permissive" privacy control level.

Usage

checkPermissivePrivacyControlLevel(privacyControlLevels)

Arguments

privacyControlLevels

is a vector of strings which contains the privacy control level names which are permitted by the calling method.

Details

Tests whether the R option "datashield.privacyControlLevel" is set to "permissive", if it isn't will cause a call to stop() with the message "BLOCKED: The server is running in 'non-permissive' mode which has caused this method to be blocked".

Value

Returns an error if the method is not permitted; otherwise, no value is returned.

Author(s)

Wheater, Dr SM., DataSHIELD Team.


[Package dsTidyverse version 1.0.4 Index]