Selaa lähdekoodia

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

https
jakobsn 6 vuotta sitten
vanhempi
commit
0b4409236c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      src/app/templates/project.html

+ 1
- 1
src/app/templates/project.html Näytä tiedosto

@@ -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>


Loading…
Peruuta
Tallenna