How do you like the idea?

94.7% 18
5.3% 1

19 Date 2009-06-29 01:49

Forums / Cotonti / Core Labs / Archive / Poll: Page validation enhancement

A small tweak that could be ultimate in most cases

Trustmaster
#13534 2009-06-29 01:49
As you know users cannot edit their pages by default. Seditio has an ugly eyoop plugin which is almost a copy of normal page module. We have a hook that can affect that editing permission and it was supposed that there will be a plugin to manage it.

At first I thought to implement this simple plugin, but then I thought why not have this default behavior for page editing:
  • Registered user can edit a page if he owns it and has write permission in its category.
  • When he edits a page and clicks "Submit", the changes are saved and the page is sent to validation queue again.
  • Users can edit their pages in validation queue.
  • Category administrators have 2 buttons instead of just "Submit" when adding/editing a page: Submit (to validation queue) and Publish (directly bypassing the queue).
It is pretty simple and should work for most sites.
May the Source be with you!