.. include:: /Includes.rst.txt .. _feature-1791915987: ======================================= Feature: Modules a company switches off ======================================= Description =========== Working time, time tracking, leave and projects are modules an admin can switch off for one company, without uninstalling anything for the other companies. For a company that switched a module off, its people see none of its navigation entries, top-bar items, dashboard widgets, setup steps and notifications, its scheduled jobs skip the company, and its operations and pages answer 404 with the problem type ``module-disabled``. Its data stays as it is and is there again when the module is switched back on. A module stays on while a module that requires it is on: time tracking and leave require working time, projects require time tracking. Every switch is recorded in the change history and publishes ``CompanyModuleSwitched``. Impact ====== New operations ``getCompanyModules`` and ``updateCompanyModules`` for admins. Every company uses every module until an admin switches one off. A package registers its module with the namespace of its classes; its scheduled jobs ask the contract ``CompanyModules`` (see the extending manual). .. index:: API, Backend, package:adsum-core, package:adsum-working-time, package:adsum-attendance, package:adsum-leave, package:adsum-projects