api: Add Permission checks to API (#7710)

* Add Permission checks to API

* Consistent API Returns and SQL restrictions on list_devices, list_bills

* Scrut fixes

* Restore global  for graph functions

* Minor fixes following review
This commit is contained in:
Richard Lawley
2017-11-29 09:42:52 +00:00
committed by Neil Lathwood
parent d6db01abb5
commit f0a908cfb1

File diff suppressed because it is too large Load Diff