dwyl / adoro

❤️ The little publishing tool you'll love using. [work-in-progress]
http://www.dwyl.io/
32 stars 8 forks source link

Version of content by passing in query parameter of version id #16

Open nelsonic opened 9 years ago

nelsonic commented 9 years ago

Its occured to me while using a "custom" CMS the past few days that the having a version number in the URL for a resource/page would make such a difference! We might want to restrict it to only allow people who are signed in to view previous versions.

nelsonic commented 9 years ago

Thankfully, I already made this easy in _esta_: https://github.com/dwyl/esta/issues/87 Which means we can get previous versions of all documents stored in ElasticSearch. The fun (hard) part is going to be the permissions. But initially we just have exclude all un-authenticated people from seeing previous versions...