Skip to content

Commit e98586d

Browse files
committed
feat: bypass Netdata Cloud sign-in which is required to access dashboard features
1 parent fd027a9 commit e98586d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

src/web/api/http_auth.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ time_t bearer_create_token(nd_uuid_t *uuid, HTTP_USER_ROLE user_role, HTTP_ACCES
1515
bool web_client_bearer_token_auth(struct web_client *w, const char *v);
1616

1717
static inline bool http_access_user_has_enough_access_level_for_endpoint(HTTP_ACCESS user, HTTP_ACCESS endpoint) {
18-
return ((user & endpoint) == endpoint);
18+
return true;
1919
}
2020

2121
#endif //NETDATA_HTTP_AUTH_H

0 commit comments

Comments
 (0)