mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-04 22:40:14 +00:00
Cover RBAC trailing slash routes
This commit is contained in:
parent
fd108faa7d
commit
d0e0a85861
1 changed files with 2 additions and 0 deletions
|
|
@ -2280,7 +2280,9 @@ func TestPermissionProtectedEndpointsDenyWhenAuthorizerBlocks(t *testing.T) {
|
|||
{method: http.MethodGet, path: "/api/audit", body: ""},
|
||||
{method: http.MethodGet, path: "/api/audit/event-1/verify", body: ""},
|
||||
{method: http.MethodGet, path: "/api/admin/roles", body: ""},
|
||||
{method: http.MethodGet, path: "/api/admin/roles/", body: ""},
|
||||
{method: http.MethodGet, path: "/api/admin/users", body: ""},
|
||||
{method: http.MethodGet, path: "/api/admin/users/", body: ""},
|
||||
{method: http.MethodGet, path: "/api/admin/reports/generate", body: ""},
|
||||
{method: http.MethodPost, path: "/api/admin/reports/generate-multi", body: `{}`},
|
||||
{method: http.MethodGet, path: "/api/admin/webhooks/audit", body: ""},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue