GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Add authorization callback for subscription requests · Issue #28 · nodeSolidServer/node-solid-ws DescriptionCurrently, This can leak information - a subscriber learns when a resource changes, even if they can't read it. Proposed solutionAdd an optional const solidWs = SolidWs(server, app, { authorize: (iri, req, callback) => { // Check if user has read access to iri // callback(null, true) to allow // callback(null, false) to deny } }) If authorization fails, send This keeps solid-ws flexible (default allows all, as today) while letting servers like NSS integrate their ACL checking. Happy to submit a PR for this if it sounds reasonable! Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |