Bug #785
closedmyamiweb setup wizard need to modify define('GP_USER', 'users') in config.php correctly
0%
1. If they don't have a "users" group, they can create a new group called "users", and set the privilege to "Administrate/view only owned projects and view shared experiments".
2. If they already have "users" group, and the users group has other privilege than the default users privilege, they need to create a new group for default user and and set the privilege to "Administrate/view only owned projects and view shared experiments". Then edit the config.php file on line 74. Change the 'users' to the new group name they just created.
Description
We can not assume that past users creates any group other than the one administrator user is in. Current upgrade gives all other available groups user privilege. but retain their group name for obvious reason.
Setup wizard should know how to deal with each of these situations:
1. only one group (will have administrators privilege after schema-r127857.py)
2. more than one group but no group is named 'users'
3. more than one group and the group the administrator user is in is called 'users'. This will cause new users to default with administrator privileges.
4. more than one group and a group other than the administor group is called 'users'.