.. include:: /Includes.rst.txt .. _feature-1793321453: ========================================== Feature: Switch off single module features ========================================== Description =========== A package can let a company switch off a single feature of its module and keep the rest. A feature is one class that names its pages and API operations, its navigation entries, dashboard widgets, tours and request kinds. For a company that switched a feature off, its people see none of them, its pages answer like those of a switched-off module and its operations answer 404 with the problem type ``feature-disabled``. The data stays as it is. Working time declares the first two features: ``workTypes`` (the catalogue, rotations, the work types of people and the requests to change them) and ``scheduleChanges`` (schedule change requests). Impact ====== A feature is stored like a module, under its own key; there is no migration. A package declares a feature with a class that implements ``CompanyFeature`` (see the extending manual). .. index:: Backend, package:adsum-core, package:adsum-working-time