Repository navigation
OpenClockwork v2.0.1
OpenClockwork v2.0.1
Security fix
- Fixes read authorization in Team mode for personnel records, time accounts, vacation
balances, leave allowances, absences and working-time violations in
PR #34, following a
finding from Codex Security Cloud. Employee lists and individual personnel
records now follow the authenticated actor's permitted scope. The related
account, vacation-balance, leave-allowance, absence and violation reads require
authentication and enforce access to the actor's own data, their direct reports
or the HR administrator's permitted scope. Absence lists without an employee
filter are scoped as well; an explicit unauthorized employee filter is rejected. - Keeps substitute selection and project assignment working through an
authenticated employee directory containing only IDs, first names and last
names. These selectors no longer require the full personnel-record list. - Updating existing installations to 2.0.1 is recommended. See the
security advisory
for affected endpoints and mitigation.
Upgrade and compatibility
- There are no new database migrations when upgrading from 2.0.0. Keep the
existing database, attachment volumes, identities, configuration and working
timezone. Do not seed or reset an existing installation for this update.
When upgrading from an older release, also follow its intervening migration
and upgrade requirements. - Read the upgrade guide
and take a consistent backup before updating. Deploy matching API and web
images. If deploying them separately, deploy the API first and wait for
/api/healthto report2.0.1, then deploy the web image. Reopen existing PWA
or browser tabs if they continue using a cached bundle. - Custom API clients must handle
401and403responses and must not assume
GET /api/employeesexposes every employee's personnel record. Use
GET /api/employees/directoryfor names and IDs needed by substitute and
project-assignment selectors. Keep personnel, account, vacation-balance,
GET /api/employees/:employeeId/leave-allowances,GET /api/absencesand
GET /api/violationsreads authenticated and within the actor's permitted
scope. Consult the
OpenAPI contract
for the updated directory response.
Docker images
ghcr.io/patrickschiller/openclockwork-api:2.0.1ghcr.io/patrickschiller/openclockwork-web:2.0.1
The release workflow also updates each image's latest tag. Pin 2.0.1 or a
verified digest for production and use the same release for both images.
What's Changed
Other changes
- fix(api): authorize personnel, leave and attendance reads by @patrickschiller in #34
- Release 2.0.1: personnel data authorization fixes by @patrickschiller in #35
Full Changelog: v2.0.0...v2.0.1