Opened 16 years ago
Closed 16 years ago
#8208 closed defect (bug) (fixed)
Publishing new pages is tied to publish_posts cap
Reported by: | DD32 | Owned by: | |
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
Attempting to publish a page as a user who doesnt have publish_posts capability results in the page being marked as a Pending page.
It appears that the code uses publish_posts for both publishing pages and posts, As well as using edit_published_pages for both posts and pages.
See attached patch
Attachments (3)
Change History (8)
#2
@
16 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
8208.2.diff(the commited patch) doesnt look like it was destined for this ticket originally.. It fixed the author list for a similar case, But 8208.diff (non-commited) fixes the publish post -> pending state. (Sorry for not realising that blunder)
Note: See
TracTickets for help on using
tickets.
(In [9683]) Handle both post and page caps in get_editable_user_id(). Props DD32. fixes #8208