kitpages/KitpagesUserGeneratedBundle — Issue #2: Add a status and a workflow in commentPost
Author: philippe-levan
Created: 2012-02-02 08:26:17+00:00
State: open

add a status in comment Post with these values
STATUS_VALIDATED = "validated"
STATUS_REFUSED = "refused"
STATUS_WAITING_VALIDATION = "waiting_validation"

add the following controllers
* changePostStatusAction ($commentPostId, $status) // ROLE_USERGENERATED_ADMIN

in displayPostListAction, check the status