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

armyofda12mnkeys’s picture

i 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.

fago’s picture

Status: Active » Fixed

update to the latest dev snapshots of both modules, then it should work as then the grants for acl are written with the same priority.

fago’s picture

ops, 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.

armyofda12mnkeys’s picture

yeh 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?

sgdev’s picture

Is 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?

fago’s picture

@#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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.