Greetings,

Thanks for creating this module. It seems to be exactly what I'm looking for.

I've got everything setup with it, got the other two access mods installed and added the handler in the product settings. I added the feature to a product to grant access to the referenced node after purchase.

In my case it is a Webform node that the user is purchasing view access.

Now my question is where does the magic happen? Is it in the default access control settings for the node? What do I set that too?

Right now I have Webform Access control by defualt, nothing is checked. No roles have access. Access per node is disabled.

Any ideas would be mucho helpful.

TIA,

txcrew

Comments

rszrama’s picture

Hmm... if I remember right, you shouldn't have to do anything else. The users who purchase the product should be given access to the ACL for the node as specified. I think your defaults for the restricted node sound reasonable.

If this isn't working, one thing you can use to do some testing is the Devel Node Access module in http://drupal.org/project/devel. It adds an access table to the display of the page that you can use to see who has what sort of access to any given node.

rszrama’s picture

Status: Active » Fixed

This is quite old... going to assume you worked it out.

Status: Fixed » Closed (fixed)

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

rvarkonyi’s picture

Status: Closed (fixed) » Active

Hi,

maybe my question is really silly, but how does one purchse the node if one doesn't have access to it? I followed the same steps, but if I don't grant access to anyone, no one can buy the node to view it later.

Is it some basic thing I'm missing?

Thanks

Rob

rszrama’s picture

Status: Active » Closed (fixed)

Hey Rob, generally, you should open up a new support request after one has been closed. The short answer for your problem is of course you can't. If a user can't access a node, they can't really purchase it. That's why most people use this to sell access to other nodes than the product nodes themselves. (Or even just to other product nodes.)