.. include:: /Includes.rst.txt .. _bugfix-1791112774: ===================================================== Bugfix: New tabs offer only the presets of ones roles ===================================================== Description =========== The dialog for a new dashboard tab offered the defaults of every role, :guilabel:`HR overview` and :guilabel:`Administration` included, even to employees who hold none of them; choosing one failed. It now offers an empty tab and the defaults of the roles the person holds: :guilabel:`My team` to people with reports, :guilabel:`HR overview` to HR, :guilabel:`Administration` to admins. ``listMyDashboards`` and ``reorderMyDashboards`` answer ``presetRoles``, the presets the caller may start a tab from. Impact ====== Employees see only :guilabel:`My overview` besides the empty tab. Nothing changes in what anybody may read: the API refused presets of roles not held before as well. .. index:: API, Frontend, package:adsum-core