I would like to restrict access to viewing content exposed from json api, but I don't see any Drupal permission to do so. I would like to do this and still have published content accessible by anonymous users. In other words, I can't change the "view published content" permission to only allow authenticated users.
I would like to use this module in conjunction with the Simple OAuth module, and then only authorize requests to any resource within /jsonapi/* if a user is authenticated. The core REST module exposes permissions per endpoint, but I don't see any unique permissions for this module.
Is there a permission that I am missing to achieve this?
If not, can one be added?
Comments
Comment #2
wim leersJSON:API simply respects Entity API access control. To tweak access to entities, use the entity access system :)
Comment #3
wim leers