Files
photoreport/apps/desktop/src-tauri/capabilities/default.json
spark f36da3408b
ci / rust (pull_request) Successful in 7m11s
ci / typescript (pull_request) Failing after 10m13s
Write the newsroom metadata into the originals Lightroom imports.
The embed command was missing from the desktop permission list, so every write was refused. The write also looked up the preview hash, and a full mark history no longer fit in storage, so today's files stayed empty.
2026-11-23 15:37:31 +00:00

88 lines
2.3 KiB
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Main window: core APIs, the keychain and local FTP commands and opening PhotoReport pages in the system browser. The window shows the interface kept on this computer (updated in the background from the server); the server's pages keep the same access.",
"windows": [
"main"
],
"permissions": [
"core:default",
{
"identifier": "opener:allow-open-url",
"allow": [
{
"url": "https://*.photoreport.pt/*"
},
{
"url": "http://localhost:5173/*"
}
]
},
"allow-refresh-token-get",
"allow-refresh-token-set",
"allow-refresh-token-clear",
"allow-ftp-start",
"allow-ftp-stop",
"allow-ftp-status",
"allow-ftp-check",
"allow-ftp-take",
"allow-ftp-retry",
"allow-ftp-read",
"allow-ftp-sent",
"allow-ftp-write-xmp",
"allow-ftp-open-folder",
"allow-ftp-save-settings",
"allow-local-original",
"allow-local-original-changed",
"allow-local-film-thumb",
"allow-folder-drop",
"allow-drop-read",
"allow-folder-open",
"allow-folder-thumb",
"allow-folder-read",
"allow-folder-meta",
"allow-folder-merge-dng",
"allow-folder-save-dng",
"allow-folder-save-jpeg",
"allow-folder-save-xmp",
"allow-ftp-preview",
"allow-ftp-info",
"allow-catalog-folders",
"allow-catalog-add",
"allow-catalog-remove",
"allow-catalog-scan",
"allow-catalog-status",
"allow-catalog-cancel",
"allow-card-scan",
"allow-card-ingest",
"allow-card-cancel",
"allow-card-settings",
"allow-card-save-settings",
"allow-faces-local",
"allow-faces-scan",
"allow-faces-cancel",
"allow-faces-remember",
"allow-faces-read",
"allow-update-check",
"allow-update-install",
"allow-ui-status",
"allow-ui-check",
"allow-delivery-machine",
"allow-delivery-folders",
"allow-delivery-folder-pick",
"allow-delivery-write",
"allow-import-upload-profiles",
"allow-camera-status",
"allow-camera-take",
"allow-camera-tether",
"allow-camera-sync",
"allow-camera-import",
"allow-camera-refresh"
],
"remote": {
"urls": [
"https://*.photoreport.pt"
]
}
}