-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Posts: People with Author User Role Cannot View Draft Titles By Other Users #1231
Comments
I'm going to remove the |
14Apr16 Bug Scrub Confirmed this is still an issue. |
26May16 Bug Scrub This is still an issue, but since it hasn't had any activity in over a month I'm tempted to close it. For now I'll just tag it as Low Priority, though, since it is a loss of functionality from wp-admin |
Doing a bit of investigating here, the root of the issue is the API does not return drafts for contributors/authors that they do not have the ability to view. The Alternatively, in wp-admin the I also performed the same API query against the new WP REST API, and it too does not return drafts that do not belong to authors/contributors. So I've added the While testing this out I did notice a few buggy experiences in the UI for contributors that should probably be fixed either way. These bugs result from the and in the published post listing: |
See also #1806 |
Closing in light of this comment from @timmyc earlier:
While testing this out I did notice a few buggy experiences in the UI for contributors that should probably be fixed either way. These bugs result from the post_counts API endpoint returning a count for drafts for all users. I suppose we could add logic in Calypso to ensure users have the appropriate permissions to view these drafts and conditionally show these links. Moved the draft count issue to #14243 |
At
/posts/drafts/$site
, people with the Author user role cannot view titles of drafts created by other users, however this is possible the analogous wp-admin pagehttps://$site/wp-admin/edit.php?post_status=draft&post_type=post
While the Author role shouldn't be able to edit others' drafts, it can be handy to at least see that a draft is in progress, particularly on news sites where many different Authors may be starting to prepare a similar story.
To replicate:
/posts/drafts/$site
site to the "Everyone" toggle - the draft count will appear at the top, but the draft title from the original user do not appearScreenshot:
https://cloudup.com/cuGjRN2SCyn
Originally reported by a wpcom user in 274039-chat
The text was updated successfully, but these errors were encountered: