Breaking02 / IT
DEV article urges record-level API access checks
A fictional API checks whether users are signed in, then returns a database record identified by an ID.

DEV published an article on 27 Nov 2026 urging developers to check whether signed-in users have permission to view the individual records they request through an API. The article treats sign-in and record access as separate checks.
In the fictional example, the API endpoint checks whether the user is signed in, uses an ID to find the requested database record and returns it. The code passes its tests, the pull request is approved and the feature ships.
The endpoint skips the check that would determine whether the signed-in user has permission to view that particular record. The article cites the McHire security incident and recommends checking record access at every API endpoint.