mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-11-30 04:04:03 -05:00
Disabling the API per user made pages that rely on it (Montage Review and others) fail silently: the AJAX event queries came back 401 "API disabled for: <user>" and the page just drew empty boxes with no indication of why. Rather than keep a foot-gun that makes the UI look broken, drop the per-user API-disable control entirely: - AppController no longer rejects an authenticated user because APIEnabled != 1; the API is available to any authenticated user. - Remove the APIEnabled selector from the user edit view and the APIEnabled column from the users list and the API options tab. The API options tab keeps its token management (New Token, Revoke Token, Revoke All Tokens). - The user token section no longer hides itself based on APIEnabled. The Users.APIEnabled column and the model default are left in place so no database migration is needed; the value is simply no longer consulted. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>