createPermission($user, ENTITY_EXPENSE)) return false; return $user->hasFeature(FEATURE_EXPENSES); } }