update dynamic check for tasks: allow subtask to be access if we can access parent subtask