Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
webui: Fix the broken access check for containers and cache systems
  • Loading branch information
perexg committed Aug 21, 2014
1 parent bee6c8e commit 35a296c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/webui/extjs.c
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 35a296c

Please sign in to comment.