Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
krileon wrote: Doing a direct database insert won't update the users session. This means if they're already logged in they won't see the new usergroup until they logout. Ensure your usergroup is visible in backend and it'll be working fine, but the user won't know until they've logged out and logged back in.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
krileon wrote: That's probably due to it not being stored with the user object and session. If the user object and session aren't updated a user store following your query will basically just undo what you've done. The best way to have what you're wanting right now is with CB Auto Actions and its Usergroup action, but that requires a Professional subscription or use only 1 usergroup per plan and let CBSubs control it from the Access tab.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.