id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses
24153 Sticky flag gets unset if author doesn't have publish_posts permission archon810 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:
- edit_published_posts
- edit_others_posts
- edit_posts
- read
- read_private_posts
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." defect (bug) closed normal 4.3 Role/Capability 3.5 normal fixed has-patch has-tests administration