anvc / scalar

Born-digital, open source, media-rich scholarly publishing that’s as easy as blogging.
Other
231 stars 73 forks source link

Unpublished / nonexistant page behavior #122

Open ColeDCrawford opened 4 years ago

ColeDCrawford commented 4 years ago

When an unauthenticated user tries to access an unpublished page, they are kicked back to the base domain (eg http://scalar.usc.edu/works/) rather than the book index (http://scalar.usc.edu/works/book-name/index). The latter seems to be the preferred behavior.

When an unauthenticated user tries to access a nonexistent page (eg http://scalar.usc.edu/works/book-name/foobar), the user sees a screen with the message, "This page contains no content. Click the pencil button above to add some." This makes sense if the user is authenticated and wrongly thinks they have already created a page, but I think it makes more sense for unauthenticated users to be kicked back to the index than to see this message.

I could be making incorrect assumptions about user behavior - happy to hear thoughts if I'm wrong!

craigdietrich commented 4 years ago

Hi @ColeDCrawford, are these scenarios with the Editorial Workflow on?

ColeDCrawford commented 4 years ago

@craigdietrich - no, we're not using the Editorial Workflow or the new dashboard yet.