mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-02-18 00:17:39 +01:00
Cover proxy admin gating for config management
This commit is contained in:
@@ -1936,6 +1936,13 @@ func TestProxyAuthNonAdminDeniedAdminEndpoints(t *testing.T) {
|
||||
{method: http.MethodGet, path: "/api/diagnostics", body: ""},
|
||||
{method: http.MethodPost, path: "/api/diagnostics/docker/prepare-token", body: `{}`},
|
||||
{method: http.MethodGet, path: "/api/config/system", body: ""},
|
||||
{method: http.MethodPost, path: "/api/config/export", body: `{}`},
|
||||
{method: http.MethodPost, path: "/api/config/import", body: `{}`},
|
||||
{method: http.MethodGet, path: "/api/config/nodes", body: ""},
|
||||
{method: http.MethodPost, path: "/api/config/nodes", body: `{}`},
|
||||
{method: http.MethodPost, path: "/api/config/nodes/test-config", body: `{}`},
|
||||
{method: http.MethodPost, path: "/api/config/nodes/test-connection", body: `{}`},
|
||||
{method: http.MethodPut, path: "/api/config/nodes/node-1", body: `{}`},
|
||||
{method: http.MethodGet, path: "/api/system/settings", body: ""},
|
||||
{method: http.MethodPost, path: "/api/system/settings/update", body: `{}`},
|
||||
{method: http.MethodPost, path: "/api/security/reset-lockout", body: `{}`},
|
||||
|
||||
Reference in New Issue
Block a user