test(server): inventory the public server identity route

The authorization matrix fails for any live route that is neither inventoried nor in its frozen
gap baseline, and GET /server-identity arrived without an entry. Record it as public with no
permission or library access, which is exactly what the route serves.
This commit is contained in:
neon
2026-10-13 19:45:05 -06:00
parent c6b9eb59f6
commit 602a03e6c5
2 changed files with 14 additions and 2 deletions
@@ -1,7 +1,7 @@
{ {
"totalRoutes": 648, "totalRoutes": 649,
"byPermission": { "byPermission": {
"(none)": 280, "(none)": 281,
"Permission.ManageMetadataConfig": 38, "Permission.ManageMetadataConfig": 38,
"Permission.EmailSend": 34, "Permission.EmailSend": 34,
"Permission.LibraryEditMetadata": 35, "Permission.LibraryEditMetadata": 35,
@@ -970,5 +970,17 @@
"isPublic": false, "isPublic": false,
"allowDefault": false, "allowDefault": false,
"useGuards": [] "useGuards": []
},
{
"file": "server/src/modules/server-identity/server-identity.controller.ts",
"className": "ServerIdentityController",
"methodName": "getIdentity",
"httpMethod": "GET",
"path": "/server-identity",
"permissions": [],
"libraryAccess": [],
"isPublic": true,
"allowDefault": false,
"useGuards": []
} }
] ]