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 D1Object
setPublicAccess(x)
D1Object
D1Object with modified access rules
DataObject
class description.