klokantech/jekylledit

Drafts

Closed this issue · 3 comments

User with role "editor" always saves drafts.

User with role "admin" can save a draft, or publish directly.

When editor creates a draft - all admins receive email notification.

Endpoint for getting the list of drafts - admin of all drafts, editor for his own.

Drafts will be stored as _drafts http://jekyllrb.com/docs/drafts/

Post's author will be always an email. Finally, we will store drafts in a draft's a category. We will use publish: true which is defined in Jekyll's frontmatter : http://jekyllrb.com/docs/frontmatter/

We need to create endpoint:
/site/<site_name>/drafts - JSON with list of drafts, filtered by user role
Fields: title, filename, category, date

Done.