I am in a process of finishing a workflow. I have done the most things with rules. To my surprise I found a feature is missing in this great module ...
I have created a content type called "my_cont_type". A content of this content type will be created only once by admin. A link will be provided for the admin to go and change the option whenever he wants.
It has a field called "
my_field". It is a list box type where user can select multiple options. The options are "Role1" , "Role2", and "Role3".
On creating this content or after created admin can go and edit the same. After edited the same from that time the new user who all registering or created they have to come under the corresponding role selected in that node. I have those three roles already in my application.
- When Role1 and Role2 is selected the new user has to register with these roles1&2 enabled.
- When Role1 and Role3 is selected the new user has to register with these roles1&3 enabled.
- When Role3 is selected the new user has to register with only roles3 enabled.
Can I accomplish this using the Rules module?
I tried but I doesn't find any attributes regarding node or content type in condition when using the "After new user saved" event.