[wp-trac] [WordPress Trac] #49393: Author user role, Gutenberg add picture from someone else, rest_forbidden_context crash, image size crash
WordPress Trac
noreply at wordpress.org
Mon Feb 10 06:07:06 UTC 2020
#49393: Author user role, Gutenberg add picture from someone else,
rest_forbidden_context crash, image size crash
--------------------------------------+-----------------------------
Reporter: debricon | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Gallery | Version: 5.3.2
Severity: normal | Keywords:
Focuses: administration, rest-api |
--------------------------------------+-----------------------------
Login as a user with role Author (important, user editor works normaly).
Create post, add **existing picture from the gallery** to your article.
In the console you'll get an error :
[[Image(https://i.ibb.co/Xpkh5zs/bug-wordpress.png)]]
/wp-json/wp/v2/media/11133?context=edit&_locale=user
{code: "rest_forbidden_context",
and you can't change the image size.
- User roles Editor and Admin are not affected.
- Uploaded picture by the Author are not affected.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49393>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list