New topics notice for anonymous users


(Héctor Fernández) #1

When not logged in sometimes there is a link to new available topics, but clicking on the link gives a access denied screen (Access Denied while trying to load [/new.json?order=default] Something went wrong.)


(Jeff Atwood) #2

Can you repro this @jomaxro?


(Joshua Rosenfeld) #4

Yes, I can repro this on try.

Repro:

  1. Open Try but don’t log in.
  2. Scroll through a topic in a category, for example #discourse.
  3. Have a new topic created in the same category.
  4. New topic notice appears at the bottom:
  5. Clicking the link https://try.discourse.org/new leads to an error page Oops! That page doesn’t exist or is private.
  6. New topic notice disappears on refresh.

(Jeff Atwood) #5

Hmm I would classify this as a bug @sam. How is that leaking through to anon?


(Sam Saffron) #6

It’s not really leaking anything we just know that a new topic was posted it’s the same info we get when you park on latest as anon, should be straightforward to fix