Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By default restws does view permission checks on responses.
However this adds about 50% of work on large entities so it would be great to disable permission checks for when performance is more applicable and the service is on a private network.
Comment | File | Size | Author |
---|---|---|---|
#2 | restws-disable-access-check-option-2554709-2.patch | 635 bytes | JoeMcGuire |
Comments
Comment #2
JoeMcGuire CreditAttribution: JoeMcGuire commentedAttached is a patch which does this globally.
Ideally something could be setup a bit more fine grain but I'm unsure what that design would look like yet. Other todo's include Admin UI and uninstall hook cleanup.
For now anyone testing the patch would need to set the variable restws_access_check = FALSE; as it defaults to existing behaviour of TRUE to do access checks.