webui: Fix the broken access check for containers and cache systems
This commit is contained in:
parent
bee6c8ee2e
commit
35a296c622
1 changed files with 0 additions and 8 deletions
|
@ -568,12 +568,8 @@ extjs_dvr_containers(http_connection_t *hc, const char *remain, void *opaque)
|
|||
out = htsmsg_create_map();
|
||||
array = htsmsg_create_list();
|
||||
|
||||
if (http_access_verify(hc, ACCESS_RECORDER_ALL))
|
||||
goto skip;
|
||||
|
||||
muxer_container_list(array);
|
||||
|
||||
skip:
|
||||
htsmsg_add_msg(out, "entries", array);
|
||||
|
||||
} else {
|
||||
|
@ -608,12 +604,8 @@ extjs_dvr_caches(http_connection_t *hc, const char *remain, void *opaque)
|
|||
out = htsmsg_create_map();
|
||||
array = htsmsg_create_list();
|
||||
|
||||
if (http_access_verify(hc, ACCESS_RECORDER_ALL))
|
||||
goto skip;
|
||||
|
||||
muxer_cache_list(array);
|
||||
|
||||
skip:
|
||||
htsmsg_add_msg(out, "entries", array);
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue