jpschewe / fll-sw

FIRST Lego League scoring software
http://jpschewe.github.io/fll-sw/
GNU General Public License v2.0
10 stars 7 forks source link

Edit presenters for awards script separately #1153

Closed jpschewe closed 1 month ago

jpschewe commented 8 months ago

We would like to be able to edit the presenters for the awards script on a separate page, so that those that should not be editing the awards script text can edit the presenters without concern for losing other critical data for the awards script. The REPORT_GENERATOR role should be able to do this.

jpschewe commented 1 month ago

Allow editing of the presenters for the current tournament. This implies the TOURNAMENT_LEVEL layer. Presenters are:

The servlet needs to allow REPORT_GENERATOR permission. Make sure it only allows the specified Sections and not all Sections. The edit page should use the javascript code from edit-awards-script.jsp for setup of the fields.

populateContext for the page will assume the current tournament ID and set the page attributes appropriately.