By hackia on
Hello,
I have a site that when you complete a certain task, you are routed to a page that has a rule applied to it.
When page is viewed a new roles is assigned.
But when it happens the role that i set to be assigned is assigned with almost all the other roles.
Is there a way to make this not happen, or a way for a user to be only allowed one role at a time.
Problem:
User is granted roles that he should not have.
Solution:
Role amount is limited, or a hiarchy of roles, if are granted role 2, u have 1 and 2. and so forth.
Thanks in advance.
Comments
The rule was set wrong
Add a "Numeric comparison" (under "Rules"), set value 1 to
, operation to "Equal to" and value 2 to 2.
And do the action and shazam it works.
What this does is when a user goes to node 2 the action takes place.