Making WordPress.org

Opened 3 years ago

Last modified 18 months ago

#3881 new defect

Handbooks: warn if user is modifying page and causing status change from published to pending

Reported by: sippis Owned by:
Milestone: Priority: low
Component: Handbooks Keywords: needs-patch


Everyone does not have permission to publish handbook pages, even tho they have permission to edit and save all the pages. Users without publishing permissions do modify the pages and save it - which causes the page status to change from published to pending. This results on rare occasions published pages to disappear from handbooks.

We should warn users if they are editing page which is going to revert from published to pending.

Change History (5)

This ticket was mentioned in Slack in #community-team by sippis. View the logs.

3 years ago

This ticket was mentioned in Slack in #meta by sippis. View the logs.

3 years ago

#3 @coffee2code
22 months ago

#4521 was marked as a duplicate.

#4 @coffee2code
22 months ago

Pertinent comment by dd32 from #4521:

Apparently when someone who doesn't have publish_posts edits the publish'd documents the post reverts to pending.

It somewhat sounds like a user-role has edit_published_posts but not publish_posts and causes that..

My thought is that the handbook pages should remain published if a non-privledged user edits them, but others have informed me that ideally it'd not make their edits public until review (which seems to be what's happening now).

First step seems to be to trust users who have edit access, and keep the pages published. Second step sounds like it's to add an editorial plugin that lets you put future changes into a review queue.

Note: See TracTickets for help on using tickets.