setPublicAccess function

Make the object publicly readable.

Make the object publicly readable.

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.

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

Arguments

  • x: D1Object

Returns

D1Object with modified access rules

See Also

DataObjectclass description.

  • Maintainer: Matthew B. Jones
  • License: Apache License 2.0
  • Last published: 2022-06-10