-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting Posit Connect Sharing settings #791
Comments
Yes! If your Posit Connect instance allows it, you can share a pin publicly by setting library(pins)
board <- board_connect()
#> Connecting to Posit Connect 2023.07.0 at <https://colorado.posit.co/rsc>
board |> pin_write(
1:10,
"snazzy-numbers",
type = "json",
access_type = "all"
)
#> Writing to pin 'julia.silge/snazzy-numbers'
path <- fs::path_temp("some-letters.txt")
readr::write_lines(sample(LETTERS, size = 20), path)
pin_upload(
board,
paths = path,
name = "snazzy-letters",
access_type = "all"
) Created on 2023-09-27 with reprex v2.0.2 These are now available publicly on our demo server, and I did not have to change the access through the UI:
The options here for |
Let us know if you have further questions! 🙌 |
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. |
Hi,
I am wondering if it's possible when using pin_upload to set by default the sharing settings for a Pin to be "Anyone - no login required" or "All users - login required"?
I have a process that uploads some log files to a Posit Connect pin board and would like everyone within the server to have download access to the log files without having to manually change the sharing settings for each pin.
Thank you!
The text was updated successfully, but these errors were encountered: