Hi Bradley,

I need some help/clarification, I can't make it work.

Here are my settings on Drupal

* role "referred user" (same as "anonymous user")
* 3 webforms:
- node/1 (alias request)
- node/2 (alias documentdelivery)
- node/3 (alias thesaurus)
all with the roles "referred user" and "authenticated user" set and "anonymous user" unset.
* http://my.server.com/application/page1.aspx is granted role: referred user (and the same for page2.aspx, page3.aspx)

And on http://my.server.com/application/page1.aspx

* a link to http://my.server.com/drupal/index.php?q=node/1 (or q=request)

When I follow the above link y get the "You must login or register to view this form." message on the 3 nodes and his aliases, even on https on both sides (this is what i need finally). Obviously with the "anonymous user" role set, I can see the form.

My setup is on:
Windows 2003 Server/IIS6
PHP 5.2.9-1
Drupal 6.15
MySQL database 5.0.18
Role Referral 6.x-1.0 (2008-Aug-21)

Please, any help is welcome.

Best regards,

Enrique Martínez

Comments

olarin’s picture

Status: Active » Postponed (maintainer needs more info)

The problem is that you're trying to link directly to the page in question. With the way the module currently works, your link needs to go to [drupalsite]/referred Once you've traveled via that link, you'll be recognized as a "referred user" for the duration of your anonymous session and be able to view the nodes in question.

Do you specifically need to have a direct link like that? I can probably modify the module to allow that, but I may not have time to get to it for a couple weeks.

enriqe’s picture

That is what I saw while reviewing the code, but was not so clear to me, php is not my forte.

Yes, I need that kind of behavior, if it is possible that you do that, I'll be very grateful.

Mil gracias!

Enrique

ps. I think I can give it a try while you can help me.