Using the modules "rules" and "rules linkevent" I am trying to get drupal to automatically assign a new role to the user upon visiting a certain page.
I've written it like this/entered the following values and selected these options:
-
Events Event
levelup2 was accessed
-
Conditions Elements
User has role(s) Parameter: User: [site:current-user], Roles: authenticated user
-
Actions Elements
Add user role Parameter: User: [site:current-user], Roles: Level 2
What am I doing wrong or how could I alternatively make the user accessing the page, reading the page or another trigger I can make be granted a new role?
I have tried searching the net but have found no answers. Can anyone help?