Having write access to sites is not optimal or practical in most situations. Apps should use filetransfer authorized like the update module.

Comments

randallknutson’s picture

Status: Active » Needs review
StatusFileSize
new3.42 KB

I'm not 100% sure which part of this patch fixed this but it seems to work for me now on all the apps I've tried.

randallknutson’s picture

After further testing I figured out it was removing
unset($_SESSION['update_manager_update_projects']);
that made the difference. The rest of the cleanup is nice though.

tomdavidson’s picture

Exciting. Does this patch solve issues such as OpenPublic's Apps wanting write access to sites but Aegir not liking such? If so, my itch maybe getting scratched.

Do you want me to test patch in #1, or do you have an update?

best, tom

e2thex’s picture

When you were testing did you have both SSH and FTP or just FTP?

randallknutson’s picture

When I was testing I used SSH.

randallknutson’s picture

StatusFileSize
new1.71 KB

My original patch had some cruft in it from some other stuff I was working on. This one has the same changes without the extra stuff. I've tested it with SSH and it works great.

e2thex’s picture

Issue tags: +sprint candidate

tagging for sprint

e2thex’s picture

Status: Needs review » Fixed

Automatically closed -- issue fixed for 2 weeks with no activity.