synSetPermissions | R Documentation |
Sets permission that a user or group has on an Entity. An Entity may have its own ACL or inherit its ACL from a benefactor.
synSetPermissions(entity, principalId=NULL, accessType=list("READ", "DOWNLOAD"), modify_benefactor=FALSE, warn_if_inherits=TRUE, overwrite=TRUE)
entity |
An Entity or Synapse ID to modify |
principalId |
Identifier of a user or group |
accessType |
Type of permission to be granted. One or more of CREATE, READ, DOWNLOAD, UPDATE, DELETE, CHANGE_PERMISSIONS |
modify_benefactor |
Set as TRUE when modifying a benefactor's ACL |
warn_if_inherits |
Set as FALSE, when creating a new ACL. |
overwrite |
By default this function overwrites existing |
an Access Control List object
## Not run:
synSetPermissions("syn11705401", 273950, c("READ", "DOWNLOAD"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.