zoneminder/web/api/app/Controller
Isaac Connor 23ddc83ad4
fix_2167 (#2168)
* 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
2018-08-08 09:59:46 -04:00
..
Component disable FilterComponent as it doesn't actually do anything. Add Groups join when needed 2017-12-09 14:03:42 -05:00
AppController.php fix_2167 (#2168) 2018-08-08 09:59:46 -04:00
ConfigsController.php Include values in /etc/zm files in viewByName 2018-06-25 15:43:01 -04:00
ControlsController.php Merged Angular UI branch API to master 2015-06-11 02:58:58 +00:00
EventsController.php fix_2167 (#2168) 2018-08-08 09:59:46 -04:00
FramesController.php Moved the api to underneath the web directory 2014-04-29 20:41:04 +00:00
GroupsController.php Merge ../ZoneMinder.master into storageareas 2018-03-06 12:29:59 -05:00
HostController.php fix_2167 (#2168) 2018-08-08 09:59:46 -04:00
LogsController.php Merged Angular UI branch API to master 2015-06-11 02:58:58 +00:00
MonitorsController.php fix_2167 (#2168) 2018-08-08 09:59:46 -04:00
PagesController.php further merges from cakephp 2.10.8 2018-03-21 13:09:55 -04:00
ServersController.php fix_2167 (#2168) 2018-08-08 09:59:46 -04:00
StatesController.php fix_2167 (#2168) 2018-08-08 09:59:46 -04:00
UsersController.php add in User Model/Controller and rough in auth. 2015-06-30 11:27:17 -04:00
ZonePresetsController.php fix spacing/quotes/google code style 2018-07-24 16:41:09 -04:00
ZonesController.php fix_2167 (#2168) 2018-08-08 09:59:46 -04:00