Project

General

Profile

Actions

Bug #1109

closed

can not unhide an image from web viewer in standard installation

Added by Anchi Cheng almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Web interface
Target version:
Start date:
12/22/2010
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 2.1.0
Show in known bugs:
No
Workaround:

Description

Since the standard database privilege is set to:

GRANT ALTER, CREATE, INSERT, SELECT, UPDATE ON leginondb.* TO usr_object@'localhost';

while the unhide button in while viewing hidden images and the undo-exemplar button while viewing exemplar images works by deleting the data row in DB_LEGINON.ViewerImageStatus table in updateimagelist.php, it needs more privilege for that particular table.

Testing:
Do this on a fresh installation that uses the above privilege.
1. hide any image from the viewer.
2. select to view hidden images
3. choose the same image and click unhide.
4. refresh the page
(Bug) The unhiden image appears in the hidden list again because it was never deleted.

Proposed change:
Either add instruction and add in the wizard and auto-installation the special privilege for this table, or change the way the image list is queried for hidden and exemplar by most recent entry. I think the first is more efficient. Whatever it is decided, we should warn the 2.0 and 2.1 users out there to adopt the first fix.

Actions

Also available in: Atom PDF