You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although that point can be argued, dynamically adding a new extension $page->add_extension(DraftContentViewingExtension::class) that implements canView($member = null) { return true; } would probably work around this.
I don’t think an empty white screen is intended, it should probably redirect to login as it does when you try to access the draft stage when not logged in
A fair point.
I guess the shared draft content controller needs to check for an HTTPResponse and return it directly if it finds one.
Currently it just assumes success then swallows any other result by returning a string, rather than relaying the response back up the stack.
arguably the return errorpage in the else section could also be moved into it's own if, perhaps in a finally for handling redirects that occur via HTTPResponseExceptions (or whatever they're really called) that can also be used for redirection (or errors in general).
CWP 2.4.x-dev and CWP 1.9.3-rc2 (both SS3 and SS4)
Expected: you should see the shared draft content
Actual: the page returns a 200 response with no content
High, could be medium, because the permission setting is probably uncommon.
The text was updated successfully, but these errors were encountered: