Rename $acl->rebuildResourceAuthorizations into $acl->rebuildAuthorizationsForResource.