set_public_read: Set public read access for an object

View source: R/access.R

set_public_readR Documentation

Set public read access for an object

Description

Set public read access for an object.

Usage

set_public_read(mn, pids)

Arguments

mn

(MNode) The Member Node.

pids

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

Value

(logical) Whether an update was needed.

Examples

## Not run: 
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")
set_public_read(mn, pids)

## End(Not run)

NCEAS/arcticdatautils documentation built on Aug. 28, 2023, 12:10 p.m.