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.
When I modify the permissions on a node, the modification doesn't go into affect until I clear caches. Is this working as an intended or a bug?
Comment | File | Size | Author |
---|---|---|---|
#2 | clear_cache_on_node_submit-2508631-2.patch | 434 bytes | abarpetia |
Comments
Comment #1
dureaghin CreditAttribution: dureaghin commentedLooks like a bug. Try this https://www.drupal.org/node/64114
Comment #2
abarpetia CreditAttribution: abarpetia as a volunteer commentedAfter saving node, node_access_acquire_grants() function get fired which updated node permissions in database. So, I think in order to reflect this changes there is also need to implement cache_clear_all() function.
I have created patch which do this please take a look. This patch created on 7.x-1.x-dev version so, changing ticket drupal version.
Comment #4
gisleComment #5
gisle