mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-04-30 12:30:17 +00:00
Expand proxy admin gating for host and profiles
This commit is contained in:
parent
b3fa409b74
commit
df799c66d5
1 changed files with 4 additions and 0 deletions
|
|
@ -1953,6 +1953,10 @@ func TestProxyAuthNonAdminDeniedAdminEndpoints(t *testing.T) {
|
|||
{method: http.MethodPost, path: "/api/ai/oauth/start", body: `{}`},
|
||||
{method: http.MethodPost, path: "/api/ai/oauth/exchange", body: `{}`},
|
||||
{method: http.MethodPost, path: "/api/ai/oauth/disconnect", body: `{}`},
|
||||
{method: http.MethodPost, path: "/api/agents/host/link", body: `{}`},
|
||||
{method: http.MethodPost, path: "/api/agents/host/unlink", body: `{}`},
|
||||
{method: http.MethodDelete, path: "/api/agents/host/agent-1", body: ``},
|
||||
{method: http.MethodGet, path: "/api/admin/profiles/", body: ""},
|
||||
{method: http.MethodPost, path: "/api/agent-install-command", body: `{}`},
|
||||
{method: http.MethodPost, path: "/api/setup-script-url", body: `{}`},
|
||||
{method: http.MethodPost, path: "/api/test-notification", body: `{}`},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue