Permit the deletion of tasks if you have perm delete for tasks.
(cherry picked from commit 68e09a2ecbc01a9cdb746610617e49579fbe6337)