Closed (fixed)
Project:
Node access password
Version:
6.x-3.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Oct 2011 at 13:45 UTC
Updated:
11 Dec 2011 at 06:20 UTC
When a node with a password is deleted it would seem logical to remove the node's password from any users that have it, as this password now doesn't relate to anything.
But in nodeaccess_password_nodeapi in the delete op, this module only deletes from the nodeaccess_password table and not the nodeaccess_password_users table.
I am attaching a small patch for removing passwords from the nodeaccess_password_users table.
I hope I have created it correctly, let me know if not.
| Comment | File | Size | Author |
|---|---|---|---|
| remove_password_from_users.patch | 877 bytes | grahamu |
Comments
Comment #1
danielb commentedI've added your patch to 6.x-3.x, and ported similar code to 7.x-4.x. Thanks!