Feature #1120

Task #631: GWT: x.x, Create new Portal/Download - RCP/Export command

GWT: x.x, Create new Portal/Download command for corpus binary

Added by Matthieu Decorde over 8 years ago. Updated over 8 years ago.

Status:Closed Start date:11/12/2014
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:- Spent time: -
Target version:Portal 0.6.1

Description

Create a new Download command for corpus binary

Solution

  • name = download
  • contextual command + toolbar button with tooltip + hyperlink + URL
    • the button is placed at the end of the toolbar and contextual menu
  • access control: new permission "DownloadPermission", add the permission to the list in the Admin interface
  • download servlet
  • download binary "<corpusname>.txm"

Implementation state

  • Not done: URL must ask for authentification if no current session

Validation test

  • select the Graal corpus
  • place the mouse over the "box" button on the toolbar: verify tooltip "Télécharger" ("Download" with locale=en)
  • test permission colntrol
  • click on the "box" button
  • download the file "graal.txm"
  • connect as admin, add line <permission value="DownloadPermission" not="true"/> to the Graal corpus in the Anonymous profile
  • logout and check that the command is no longer available

History

#1 Updated by Alexey Lavrentev over 8 years ago

  • Subject changed from GWT: x.x, Create new Portal/Download to GWT: x.x, Create new Portal/Download command for corpus binary
  • Description updated (diff)
  • Status changed from New to Feedback
  • % Done changed from 0 to 70

#2 Updated by Alexey Lavrentev over 8 years ago

  • Description updated (diff)

#3 Updated by Matthieu Decorde over 8 years ago

  • % Done changed from 70 to 80

#4 Updated by Alexey Lavrentev over 8 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 80 to 90

OK on test portal

#5 Updated by Alexey Lavrentev over 8 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 90 to 100

OK BFM portal

Also available in: Atom PDF