From the doc block of node_access_write_grants.

...
 * Note: Don't call this function directly from a contributed module. Call
 * node_access_acquire_grants() instead.
...

This module seems to be clobbering all other module implementations of hook_node_grants().

Comments

joelpittet’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

Never mind, there is no way in core to get the realm in there for the delete. Ignore me...

vlad.pavlovic’s picture

No worries, I appreciate you taking a closer look.