modxcms/revolution — pull request #11219 by rtripault (2014-03-18 13:52:13+00:00)
Title: Set `rank` when using modUser->joinGroup

Current behavior always set the rank to 0, which could lead to changing the "primary group".

Please, let me know if you need some more details.