- 🇨🇴Colombia jedihe
Re-rolled for 4.0-beta7; not yet tested.
Suggestions from #14 still pending to be analyzed and, potentially, added to the patch. Thanks @dewalt.
Get /jsonapi/flagging/favorite_product
{
"jsonapi": {
"version": "1.0",
"meta": {
"links": {
"self": {
"href": "http://jsonapi.org/format/1.0/"
}
}
}
},
"data": [],
"meta": {
"omitted": {
"detail": "Some resources have been omitted because of insufficient authorization.",
"links": {
"help": {
"href": "https://www.drupal.org/docs/8/modules/json-api/filtering#filters-access-control"
},
"item--G62eOG1": {
"href": "http://tla.ldw/jsonapi/flagging/favorite_product/97dbea14-ee4d-402a-8269-028fa35b953c",
"meta": {
"rel": "item",
"detail": "The current user is not allowed to GET the selected resource. The 'administer flaggings' permission is required."
}
}
}
}
},
"links": {
"describedby": {
"href": "http://tla.ldw/jsonapi/flagging/favorite_product/collection/schema"
},
"self": {
"href": "http://tla.ldw/jsonapi/flagging/favorite_product"
}
}
}
Needs work
4.0
Flag core
The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Re-rolled for 4.0-beta7; not yet tested.
Suggestions from #14 still pending to be analyzed and, potentially, added to the patch. Thanks @dewalt.