(ScottPhillips) Fixed bug where collection administrator were not able to edit the roles associated with their collection (i.e. submitters or a workflow step). This was because the function checking permissions relied on the name of the group which was not initialized at the begining of the editing loop properly.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3315 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Scott Phillips
2008-11-21 22:23:21 +00:00
parent 45b6af64a3
commit f4ac318e25

View File

@@ -850,10 +850,9 @@ function doManageGroups()
*/
function doEditGroup(groupID)
{
var groupName = ""; // This is only filled in if the user changes the group's name.
var groupName = FlowGroupUtils.getName(getDSContext(),groupID);
var memberEPeopleIDs = FlowGroupUtils.getEPeopleMembers(getDSContext(),groupID);
var memberGroupIDs = FlowGroupUtils.getGroupMembers(getDSContext(),groupID);
var memberGroupIDs = FlowGroupUtils.getGroupMembers(getDSContext(),groupID);
assertEditGroup(groupName);