Fix: cannot create task with *Apply Strict User Permissions

Dear community,
If user permissions is set for company and apply strict user permissions is set. The system does not allow to create tasks in the tree view for adding single and multiple nodes

https://github.com/frappe/erpnext/pull/27214