summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/web/api/web_api.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/web/api/web_api.c b/src/web/api/web_api.c
index 10a00e22e1..4e936be5b6 100644
--- a/src/web/api/web_api.c
+++ b/src/web/api/web_api.c
@@ -22,11 +22,6 @@ int web_client_api_request_vX(RRDHOST *host, struct web_client *w, char *url_pat
w->access = HTTP_ACCESS_ALL;
#endif
- if((w->access & HTTP_ACCESS_SIGNED_ID) && !(w->access & HTTP_ACCESS_SAME_SPACE)) {
- // this should never happen: a signed-in user from a different space
- return web_client_permission_denied(w);
- }
-
if(unlikely(!url_path_endpoint || !*url_path_endpoint)) {
buffer_flush(w->response.data);
buffer_sprintf(w->response.data, "Which API command?");