AvailableServiceGenerator incorrectly uses DatabaseDataLoader with SHM configuration and online cloud license
Problem
The AvailableServiceGenerator in SelfSigned::AccessDataReader is attempting to use DatabaseDataLoader to generate available services when:
- Self-hosted-models (SHM) is configured
- Online cloud license is being used
This creates a configuration mismatch that doesn't occur with SHM using offline licenses.
Impact
-
self_hosted_modelsavailable service is not found, thus access to SHM features is denied.
Link to the slack thread
User.find_by_id(1).can?(:access_duo_chat) is returning false