Page MenuHomePhabricator

Logged out on client: "Data Bridge should never have been opened on this protected page!"
Open, Needs TriagePublicBUG REPORT

Description

Actual behavior:

GIVEN I opened a protected page on a client wiki
AND   I am a logged in user with sufficient permission to edit it (so that edit pens are indeed shown)
AND   I wait long enough / perform an action in another tab to be logged out
WHEN  I click on a bridge-enabled link
THEN  I am presented with an APPLICATION_LOGIC_ERROR ("Error: Data Bridge should never have been opened on this protected page!")

Expected behavior:
Unsure. Do we have a permutation of ErrorPermission to deal with this (I doubt it)?

Bildschirmfoto von 2020-03-05 13-51-43.png (1×1 px, 319 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

My assumption is that this will happen very rarely and we can delay handling this in a nicer way for Step 1. This assumption is based on the fact that to get into this situation the article has to be protected, the editor has to have the rights to edit it, open it while logged in and then must leave the article open long enough to be logged out or log out in a different tab and then get back to the article and start editing with the Bridge. That chain of events seems unlikely to happen often.