Ticket #1859 (closed enhancement: fixed)

Opened 7 years ago

Last modified 6 years ago

Extend Fiji Wiki's Special:ChangeUploadPassword to handle sites.imagej.net, too

Reported by: dscho Owned by: dscho
Priority: major Milestone: imagej2-b7-ndim-data
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 7 years ago by dscho

  • Status changed from new to closed
  • Resolution set to fixed

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.

comment:2 Changed 7 years ago 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 6 years ago by bdezonia

  • Milestone changed from imagej2-b8-analysis to imagej2-b7-ndim-data
Note: See TracTickets for help on using tickets.