Closed (fixed)
Project:
Content Access
Version:
5.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2008 at 11:35 UTC
Updated:
14 Jul 2012 at 23:29 UTC
Hello All,
I have installed content access and also ACL. When the weight for content Aceess is 0 everything is working fine, I can add a user and he gets the permission.
But, When I change the weight of content Access to 1 (and create a new page, the ACL (per user permission) doesn't work. I guess ACL has a weight of 0 or is ingnored.
What did I miss?
Thanks,
Pascal
Comments
Comment #1
armyofda12mnkeys commentedi wonder do you have other things with lower weight? like maybe 'all' realm is being written to node_access table for that node, and that has higher priority and overriding 'acl'/or 'content_access_rid' realms. whats in that table for that node? i think things with lower weight 'float up' and have higher priority. turn on Devel module's node access debugging to report results here.
Comment #2
fagoupdate to the latest dev snapshots of both modules, then it should work as then the grants for acl are written with the same priority.
Comment #3
fagoops, I just stumbled over a bug in the ACL priority setting code. Please update to the latest dev snapshot and report back if it works now.
Comment #4
armyofda12mnkeys commentedyeh seems to work, tried it out. wasnt sure if it was related to acl or yours. but seems to work now.
Still dont like the interface... like when you click Add a user, and it POSTS, you think it has added it, but need to still hit submit to really add it.
i would add a '* need to still submit to add this user' after the username, so can distinguish which users you just added to the user list, and clarify they arent added yet. Should i take that up with the ACL module?
Comment #5
sgdev commentedIs the expectation that we should be using the dev snapshot until further notice to fix this issue? When should we expect that this will be rolled into a new release?
Comment #6
fago@#4: hm, yep the included form is generated by the acl module - so any improvements should go into acl, yes.
@#5: Great, that it works. You can safely use the dev snapshot as the 5.x branch is already for a long time. I'll do a new release too, however I'm not sure when it will be. Perhaps I'll work on backporting some new features from 6.x before.