.. include:: /Includes.rst.txt .. _security-1793321276: =================================================================== Security: Offline punches are marked where the network rule applies =================================================================== Description =========== An offline punch of the web or the app skipped the IP allow-list, because the address of its upload says nothing about where it occurred. Any client with a token could use that to punch from outside the office network. An offline punch is still never refused for its network, but where the company has an IP allow-list it is now marked "network not checked" (`networkUnchecked` in the API). A punch that arrives later than the offline delay of such a company is no longer refused: it becomes a correction request of its day, so that it is still tracked. A required location still applies to offline punches. Impact ====== Companies without an IP allow-list see no change. The punch gets the new field `networkUnchecked`, and `createPunch` can answer 202 with the correction request. The app keeps sending `offline` and `occurredAt` as before. Run the database migrations: `time_punch` gets the column `network_unchecked`. .. index:: Attendance, API, Database, package:adsum-attendance