.. include:: /Includes.rst.txt .. _task-1791041931: =================================================== Task: Decide which dashboard widgets a user may use =================================================== Description =========== A widget is available to a user when one of its actor kinds matches the user's relationships in the company: every member is ``anyEmployee`` and ``self``, a manager with current reports ``managerInScope``, a manager or anyone who decides a pending step, is named by an active approval rule or stands in for an approver ``approver``, and role holders ``hr`` and ``admin``. The colleague presence widget is unavailable while the company hides colleagues' absences. The relationships are kept for 60 seconds. Impact ====== None yet; the catalogue and the dashboard use it. .. index:: PHP-API, package:adsum-core, package:adsum-attendance