rstudio / rsconnect

Publish Shiny Applications, RMarkdown Documents, Jupyter Notebooks, Plumber APIs, and more
http://rstudio.github.io/rsconnect/
129 stars 79 forks source link

Connect accounts registered with rsconnect 0.8.29 cannot deploy to new locations with current rsconnect #1024

Closed aronatkins closed 8 months ago

aronatkins commented 8 months ago

User registration previously recorded username in the account DCF file.

https://github.com/rstudio/rsconnect/blob/9ce427edf03b6d243a4074264dbc950242b0a295/R/accounts.R#L409-L439

We now record name.

https://github.com/rstudio/rsconnect/blob/98ccc9ae05bec7d49b38f1d10d0be5b48d03fda7/R/accounts.R#L325-L358

The accountInfo function does not rewrite username to name, which can cause problems for downstream code that expects account records to contain a stable set of fields.