User tests: Successful: Unsuccessful:
Pull Request for Issue #31130 .
as per #31130 (comment)
removed the exceptions for the API from com_content
try to delete a published article via api
{{base_path}}/api/index.php/v1/content/article/{article_id}
you can do it
you cannot
?
| Status | New | ⇒ | Pending |
| Category | ⇒ | Administration com_content |
| Labels |
Added:
?
|
||
| Category | Administration com_content | ⇒ | Administration com_content Unit Tests |
| Status | Pending | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-12-04 21:24:13 |
| Closed_By | ⇒ | wilsonge | |
| Labels |
Added:
?
|
||
@alikon
I tried to put an article in Trashed state, and then delete it, but it still didn't work:
PATCH /api/index.php/v1/content/articles/10 {"state": "-2"} - successful
DELETE /api/index.php/v1/content/articles/10
results in 401
{ "errors": [ { "title": "Forbidden" } ] }
unable to reproduce, it's working for me if the article is trashed
Thanks!