Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
good_man CreditAttribution: good_man commentedI think it's a bug, but first try enabling ACL and rerun the rule, does it break again?
Comment #2
good_man CreditAttribution: good_man commentedAlso are you sure you are using the 6.x version? I think you mean 7.x?
Comment #3
good_man CreditAttribution: good_man commentedComment #4
Itangalo CreditAttribution: Itangalo commentedI 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.
Comment #5
good_man CreditAttribution: good_man commentedI think the version @shinzou is talking about 7.x not 6.x
Comment #6
Itangalo CreditAttribution: Itangalo commentedOh, sorry. I was using D7 myself, so I have not checked this for D6.
Comment #7
good_man CreditAttribution: good_man commentedI have checked it for both 6.x and 7.x and no WSOD at all.
Comment #8
gisle