Parcourir la source

Can not see or modify files if the task is open and the user is not the owner

https
jakobsn il y a 6 ans
Parent
révision
0b4409236c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/app/templates/project.html

+ 1
- 1
src/app/templates/project.html Voir le fichier

@@ -22,7 +22,7 @@ $def with (nav, project, tasks)
$for task in tasks:
<li id="$task[0]">$task
<br>
$if project[5] == "in progress":
$if project[5] != "open" or session.userid == project[2]:
$for filename in get_task_files(task[0]):
<a href="$filename[0]" download>$filename[0].split("/")[-1]</a>


Chargement…
Annuler
Enregistrer