Check whether objects have public read access. No token needs to be set to use this function.

is_public_read(mn, pids, use.names = TRUE)

Arguments

mn

(MNode) The Member Node.

pids

(character) The PIDs of the objects to check for public read access.

use.names

(logical) If TRUE, PIDs will be used as names for the result unless PIDs have names already, in which case those names will be used for the result.

Value

(logical) Whether an object has public read access.

Examples

if (FALSE) { cn <- CNode("STAGING2") mn <- getMNode(cn,"urn:node:mnTestKNB") pids <- c("urn:uuid:3e5307c4-0bf3-4fd3-939c-112d4d11e8a1", "urn:uuid:23c7cae4-0fc8-4241-96bb-aa8ed94d71fe") is_public_read(mn, pids) }