createPermission($user, ENTITY_TASK)) return false; return $user->hasFeature(FEATURE_TASKS); } }