I ran into an annoying problem today where members of a certain administrative role could not edit nodes on a Drupal site.
I checked the following:
- The role had administer nodes, which should have given members the ability to edit any node.
- The role had the edit foo permission and the edit own foo permission.
- I tried getting rid of edit own foo in case it was conflicting with edit foo.
- I reset the node_access table.
- I emptied the cache.
Nonetheless, some nodes were editable, and some were not. Normally Drupal is very robust, and I just couldn't figure out why things were not working.