Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Members still assigned to guest role
ginahoy
New
My Vanilla forum is set for 'Basic' registration method with email confirmation. When someone registers, they remain assigned to Guest role in addition to Member role. Shouldn't Guest role be automatically revoked when someone registers? If not, why?
0
Comments
they need to confirm their email. If they do not confirm the email , they stay as guests until they do.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Sorry, I should have asked, shouldn't Guest role be automatically revoked when the member confirms their email? All members remain assigned to the Guest role, even after they confirm their email. It doesn't seem to do any harm. Is there a reason for this?
It could be your roles are messed up. This has happened before.. there is a discussion where it shows how to solve it , I will try to find it.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
See this https://open.vanillaforums.com/discussion/comment/241699#Comment_241699
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Thanks. I just read through that discussion. Looks like Roles is a mess, but there's nothing in that discussion that addresses my questions. No mention of Guest role.
Are you saying that if everything is correct, the Guest role will automatically be revoked when the new member confirms their email? I would be grateful if someone would confirm this behavior in their install.
If so, then I'll need to investigate the config files, which I currently do not have access to. I'm just the Admin. BTW, I'm running v.2.3.
No, the Guest role should never be assigned to members. I've seen your config file so I have a slight advantage: the entry
$Configuration['Garden']['Registration']['DefaultRoles'] = array('2');
is most probably the reason for that misbehavior. Please check which role has the ID 2If a user confirms his mail address, his "status" switches from unconfirmed to confirmed (there is a column in the User table explicitly for that)
Yes, RoleID 2 is for Guests. I'll ask the developer about this. Thanks.