enonic/cms-ce — pull request #489 by vfi (2012-04-10 13:26:20+00:00)
Title: B-02797 Accounts 2.0 App - Global Groups - Upgrade Script 1 Global Userstore

For current installations - "global groups" have no userstore. Create a script that automatically creates a new userstore "Global" and moves all "global groups" into this userstore.

At the same time, change "group type flag" from "global group" to "standard group". After this step - there is no such thing a "global groups"!

NB! upon new installations there shall not be greated such a userstore (only the system userstore)