mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
39d9be30f9
Introduce a LIBRARY_BROWSE_ROOT environment variable (defaulting to the current directory) to restrict directories users can browse and select when setting up library paths. Add a PathPolicyService on the backend to enforce path containment checks securely, and update the frontend FolderPickerModal to prevent navigating above the configured browse root. Closes #567
29 lines
895 B
JSON
29 lines
895 B
JSON
{
|
|
"totalRoutes": 354,
|
|
"byPermission": {
|
|
"(none)": 161,
|
|
"Permission.ManageMetadataConfig": 32,
|
|
"Permission.EmailSend": 30,
|
|
"Permission.LibraryEditMetadata": 31,
|
|
"Permission.BookDockAccess": 17,
|
|
"Permission.ManageAppSettings": 23,
|
|
"Permission.ManageLibraries": 14,
|
|
"Permission.ManageUsers": 10,
|
|
"Permission.ManageEmail": 8,
|
|
"Permission.KoboSync": 7,
|
|
"Permission.NotificationAccess": 6,
|
|
"Permission.DemoRestricted": 6,
|
|
"Permission.KoreaderSync": 8,
|
|
"Permission.OpdsAccess": 4,
|
|
"Permission.ViewAuditLog": 1,
|
|
"Permission.LibraryDeleteBooks": 1,
|
|
"Permission.LibraryDownload": 1,
|
|
"Permission.LibraryUpload": 1
|
|
},
|
|
"byLibraryAccess": {
|
|
"'viewer'": 3,
|
|
"'editor'": 1
|
|
},
|
|
"routeChunks": ["routes-01.json", "routes-02.json", "routes-03.json", "routes-04.json", "routes-05.json", "routes-06.json", "routes-07.json"]
|
|
}
|