rstudio / pins-r

Pin, discover, and share resources
https://pins.rstudio.com
Other
312 stars 63 forks source link

pin_write() access_type #551

Closed vdamico closed 2 years ago

vdamico commented 2 years ago

Hi,

I am currently updating my code to work with the new release of the package. We programmatically specify viewers for a given pin after uploading the pin since we don't want it to be accessible to everyone (and we have a lot of pins!), but I saw that pin_write() has an argument access_type and I was wondering if that could be used to set a handful of users as viewers?

Thanks in advance!

hadley commented 2 years ago

access_type can only be "acl", "logged_in", or "all"; I think you'd want to use acl, but you'd still need to set up the list of users elsewhere (i.e. in the connect UI)

vdamico commented 2 years ago

Ok great, I'll look into this some more. Thank you for getting back to me on this!

github-actions[bot] commented 2 years ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.