~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

A site's read refused for want of scope keeps the session

Open
Open chadtmiller.com opened this issue 0 comments

What happened

When a site names a read after a visitor signed in, their session lacks its rpc: scope. os.call is then refused locked, not for you, and the session is kept, so the visitor is never asked to sign in again for it. Found reading the code; not seen in a browser.

How to see it

Publish a site with --reads getGroup, sign in on it, publish it again adding listMembers, then os.call('fyi.opensocial.listMembers', …) on the open page.

What you expected

As a write, an act or an upload refused for want of scope does: the session dropped and sign in answered, so signing in again grants the new read.

Where

A local host, branch site/reports at e62dd33: web/shell/shell.ts:127 against :144.