Opened 18 years ago
Closed 18 years ago
#8208 closed defect (bug) (fixed)
Publishing new pages is tied to publish_posts cap
| Reported by: | DD32 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | Administration | Version: | 2.7 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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
@
18 years ago
- Resolution fixed
- Status closed → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [9683]) Handle both post and page caps in get_editable_user_id(). Props DD32. fixes #8208