The Overview's ShowTasks component was not passing the canMarkAsDone prop to SingleTaskInProject, which defaults to true. This caused read-only tasks to show an interactive checkbox even though the user doesn't have write permission. Use the project's maxPermission from the project store to determine if the user can mark the task as done. Also fix the disabled condition to use OR logic so the checkbox is disabled when ANY condition applies: archived, disabled, or when the user lacks write permission. Fixes #2399 |
||
|---|---|---|
| .. | ||
| filters | ||
| labels | ||
| migrate | ||
| project | ||
| sharing | ||
| tasks | ||
| teams | ||
| user | ||
| 404.vue | ||
| About.vue | ||
| Home.vue | ||