mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
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:
@@ -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": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user