If I create a Rules action to reset content permissions I receive this error:
Fatal error: Call to undefined function content_access_get_acl_id() in /modules/content_access/content_access.module on line 391

However, if I load a user id, revoke access, and then reset content permissions, it works but I don't know why . . . any ideas?

Also, just loading a referenced user won't work, I have to include the "revoke access" action.

Comments

good_man’s picture

I think it's a bug, but first try enabling ACL and rerun the rule, does it break again?

good_man’s picture

Also are you sure you are using the 6.x version? I think you mean 7.x?

good_man’s picture

Status: Active » Postponed (maintainer needs more info)
Itangalo’s picture

I got no WSOD when trying this, for information.
I found another bug, though, reported at #1209004: "Reset content permissions" action doesn't go all the way.

good_man’s picture

Version: 6.x-1.2 » 7.x-1.x-dev

I think the version @shinzou is talking about 7.x not 6.x

Itangalo’s picture

Oh, sorry. I was using D7 myself, so I have not checked this for D6.

good_man’s picture

I have checked it for both 6.x and 7.x and no WSOD at all.

gisle’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (outdated)