mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-02-02 02:21:07 -05:00
* Populate a global from the session on every request. Use the object instead of using allowedMonitors in session. * fix when gets loaded. * use for auth, and add Monitor Edit checks to Zone add/delete/edit * add back the ZM_OPT_USE_AUTH test for being logged in in AppController * Update permissions code to use * change quotes * Update permission code to use * Use instal of session for systemPermission * deprecate montiorPermision in session * use instead of session streamPermission * move login code back into AppController. Has to be done for every request * deprecate eventPermission, controlPermission and systemPermission in session. * handle auth params in query string as well as post * exit on HUP to free up memory. * add missing global user * system should be System
ZoneMinder API
This is the ZoneMinder API. It should be, for now, installed under the webroot e.g. /api.
app/Config/database.php.default must be configured and copied to app/Config/database.php
In adition, Security.salt and Security.cipherSeed in app/Config/core.php should be changed.
The API can run on a dedicated / separate instance, so long as it can access the database as configured in app/Config/database.php