.. include:: /Includes.rst.txt .. _feature-1791851843: ======================= Feature: Planning teams ======================= Description =========== Planners manage teams to plan by, independent of the departments: a name, an optional lead and members, each with a free-text role, a share of their time from 1 to 100 % and a validity. An employee may be a member of the same team again later, never twice at once. Their shares in all teams may add up to more than 100 %; each member names the highest sum on a day of the membership, so a screen can point it out. ``fillTeamFromDepartment`` adds the employees of a department on a day with 100 %, once. The team is not kept in step with the department: people who join it later are added by a planner. Team leads and members read their teams; only planners change them. Team leads are a new access actor ``teamLead``. Impact ====== New operations under ``/api/v1/planning-teams``. The tables ``planning_team`` and ``planning_team_member`` are added by a migration. .. index:: API, Database, package:adsum-planning