Ticket #1859 (closed enhancement: fixed)
Opened 2013-05-10T12:56:07-05:00
Last modified 2013-05-31T16:16:21-05:00
Extend Fiji Wiki's Special:ChangeUploadPassword to handle sites.imagej.net, too
Reported by: | dscho | Owned by: | dscho |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | Server Admin | Version: | |
Severity: | serious | Keywords: | |
Cc: | curtis | Blocked By: | |
Blocking: | #1857 |
Description
Since we want to offer http://sites.imagej.net/<username>/ personal update sites for everyone, but with a registration procedure that would prevent illegitimate use, we should simply reuse Fiji Wiki's accounts: people who register an account there should be able to simply set up their upload sites.
Since we already have an extension to set the http://fiji.sc/update/ upload password for Fiji Wiki users in the 'uploaders' group, we can simply extend that extension to allow for (re-)setting the password for their personal update site (creating it if needed).
Change History
comment:1 Changed 2013-05-10T15:41:38-05:00 by dscho
- Status changed from new to closed
- Resolution set to fixed
comment:2 Changed 2013-05-10T16:13:12-05:00 by dscho
I told the script on the receiver side (sites.imagej.net) now also to automatically initialize the update site with a minimal db.xml.gz.
comment:3 Changed 2013-05-31T16:16:21-05:00 by bdezonia
- Milestone changed from imagej2-b8-analysis to imagej2-b7-ndim-data
This was changed now. It requires an authenticated user now. Iff the user is in the uploaders group, they can select in a combo box which update site they mean, otherwise it will change the password for the personal update site always.
Since fiji.sc and sites.imagej.net live on different physical computers, the code assumes that there is SSH configuration present in a certain location relative to the webroot (but outside of it so it cannot lead to a security risk). This SSH configuration must match the SSH configuration on the sites.imagej.net side where the WebDAV login information is updated by a user different than www-data, and if the respective directory does not exist yet, it is initialized automatically.