setPublicAccess: Make the object publicly readable.

setPublicAccess,D1Object-methodR Documentation

Make the object publicly readable.

Description

This method should be called prior to creating the object in DataONE. When called before creating the object, adds a rule to the access policy that makes this object publicly readable. If called after creation, it will only change the system metadata locally, and will not have any effect on remotely uploaded copies of the D1Object.

Usage

## S4 method for signature 'D1Object'
setPublicAccess(x)

Arguments

x

D1Object

Value

D1Object with modified access rules

See Also

DataObject class description.


dataone documentation built on June 11, 2022, 1:06 a.m.