You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2015/03/02 19:08:45 UTC

svn commit: r1663382 - /vcl/trunk/web/.ht-inc/groups.php

Author: jfthomps
Date: Mon Mar  2 18:08:45 2015
New Revision: 1663382

URL: http://svn.apache.org/r1663382
Log:
groups.php: modified processGroupInput: added constraint to conditional for validating editgroupid, do not check it for federated or course roll groups

Modified:
    vcl/trunk/web/.ht-inc/groups.php

Modified: vcl/trunk/web/.ht-inc/groups.php
URL: http://svn.apache.org/viewvc/vcl/trunk/web/.ht-inc/groups.php?rev=1663382&r1=1663381&r2=1663382&view=diff
==============================================================================
--- vcl/trunk/web/.ht-inc/groups.php (original)
+++ vcl/trunk/web/.ht-inc/groups.php Mon Mar  2 18:08:45 2015
@@ -1036,6 +1036,8 @@ function processGroupInput($checks=1) {
 	   $submitErrMsg[GRPOWNER] = "Submitted ID is not valid";
 	}
 	if(($return["type"] == "user" &&
+	    $return["courseroll"] == 0 &&
+	    $return["custom"] == 1 &&
 		(($return['editgroupid'] == 0 && ! $groupwasnone) ||
 	   (! in_array($return['editgroupid'], $editgroupids)))) ||
 	   ($return['type'] == 'resource' && ! in_array($return['ownergroup'], $ownergroupids))) {