ropensci / datapack

An R package to handle data packages
https://docs.ropensci.org/datapack
44 stars 9 forks source link

add method DataObject:addAccessRules(dataObject, user, access) #21

Closed gothub closed 9 years ago

gothub commented 9 years ago

A SystemMetadata object is created for a DataObject when it is initialized, but there is no method or initialization parameter to add access rules to this sysmeta object. The proposed method would take arguments such as:

dataObj <- addAccessRules(dataObj, user="uid=slaughter,ou=Account,dc=ecoinformatics,dc=org", access=c("read", "write"))
gothub commented 9 years ago

Added in commit 766d0ef2e6f9ac0dd467fe8c97dd8fa5445174d5