.. include:: /Includes.rst.txt .. _bugfix-1793048130: ======================================================= Bugfix: The booking is offered only to whoever may book ======================================================= Description =========== The working-time account page offered "Book" to everyone who reads the account of an employee, so a reader who may not book only learned it from a refused dialog that said "Not allowed." The page now offers the booking only to HR who are employees themselves and read the account, never on their own account. A refused booking names its reason: HR does not book to their own account, and only an employee books by hand. Impact ====== Readers without the right to book no longer see the button. The refusal of the API for a booking to the own account has the problem type ``own-account-booking`` instead of the generic ``forbidden``; the problem type ``booking-needs-employee`` answers a reader without an employee record. .. index:: Time tracking, package:adsum-attendance