- Open on Drupal.org βCore: 9.5.x + Environment: PHP 7.3 & MySQL 5.7last update
9 months ago Waiting for branch to pass
At present, flaggings cannot be posted or retrieved from jsonapi unless the user has the "Administer flaggings" permission.
This is incorrect behavior because users may have permission to make flaggings/access their own flags, so they shouldn't be automatically denied access.
According to Wim Leers β , the Flag module needs to provide a normalizer for rest/jsonapi.
1. Create a flag and have authenticated users flag some content.
2. Use jsonapi to try to post a flagging while logged in as a non-admin user that has permission to post a flag.
You will get an "access denied" message.
Add support for POST operations for flags in jsonapi.
Needs review
4.0
Flag core
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.