Posted by fearlsgroove on May 25, 2009 at 7:38pm
Jump to:
| Project: | Content Access |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
When using the rules action add access to user, the routine fetches (creates or loads) the acl and adds the user but doesn't add the node. The result is that the ACL doesn't apply to the node. Although the comments state:
// A following node_save() updates the grants for us.I assume this refers node_access getting rebuilt?
Attached patch adds the same acl_node_add_acl call as the admin form uses.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| content_access-rules-acl-node-fix.patch | 598 bytes | Ignored: Check issue status. | None | None |
Comments
#1
Works for me. =)
#2
I would expect the Rules action to call
acl_node_add_acl()as the code for the settings page already does.#3
You are right, committed, thanks!
#4
Automatically closed -- issue fixed for 2 weeks with no activity.