Project

General

Profile

Actions

Bug #785

closed

myamiweb setup wizard need to modify define('GP_USER', 'users') in config.php correctly

Added by Anchi Cheng almost 14 years ago. Updated over 13 years ago.

Status:
Won't Fix or Won't Do
Priority:
Normal
Assignee:
Eric Hou
Category:
-
Start date:
07/27/2010
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 2.0.2
Show in known bugs:
Yes
Workaround:

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'.

Actions

Also available in: Atom PDF