I've looked at injecting the Project, it can't be injected because application components are initialized before project components. So the actions are application level. The correct solution is creating an application level configuration and using that for the enabled setting.