Sticky flag gets unset if author doesn't have publish_posts permission
|Reported by:||archon810||Owned by:||obenland|
I'm observing a bug with the sticky flag. I set up a special user with a role of "Grammar Nazi" who should only have access to editing of other people's posts, but not publishing his own.
The permissions given to this role are:
This user works out great - he's limited to only editing errors in other authors' posts.
However, there is a bug with sticky posts. If a grammar nazi edits a stickied post, the sticky flag gets unset. As a possibly related observation, there's no Edit button on the post edit page next to the Visibility area.
This bug is worked around by adding the publish_posts permission. However, this permission is unwanted in this case as grammar nazis shouldn't be able to post their own posts. Adding publish_posts enables the Edit button next to Visibility, and saves retain the sticky bit correctly.
So, in short: the sticky bit should be retained even when users without the publish_posts permission update a post.
Change History (26)
comment:4 @chriscct7 — 5 months ago
- Focuses administration added
- Keywords has-patch added
- Milestone changed from Awaiting Review to 4.3
- Owner set to chriscct7
- Severity changed from major to normal
- Status changed from new to accepted
- Version changed from 3.5.1 to 3.5