.. include:: /Includes.rst.txt .. _feature-1793322114: ============================================== Feature: Switch features on the screen Modules ============================================== Description =========== The screen :guilabel:`Modules` lists the features of each module below it, each with a switch and a short description. Under :guilabel:`Working time` the admin switches :guilabel:`Work types` and :guilabel:`Schedule changes`. Saving reloads the page with the new navigation. Impact ====== ``getCompanyModules`` lists the ``features`` of every module, and ``updateCompanyModules`` takes ``features`` (feature key and on or off) beside or instead of ``modules``; ``modules`` is no longer required. An unknown feature is a violation with the code ``companyFeature.unknown``. A switch publishes ``CompanyFeatureSwitched``. Operations of a switched-off feature answer 404 with the problem type ``feature-disabled``. The handbook of the administration describes the switches. .. index:: API, Frontend, package:adsum-core, package:adsum-working-time