diff --git a/info.textgrid.middleware.tgauth.rbac/rbacSoap/TgExtra.class.php b/info.textgrid.middleware.tgauth.rbac/rbacSoap/TgExtra.class.php index d5c99a3f7d089ca44d8617e3d9bc13b32b15cfd3..ed474eadb86ece080835e6316242b6d857a847dd 100755 --- a/info.textgrid.middleware.tgauth.rbac/rbacSoap/TgExtra.class.php +++ b/info.textgrid.middleware.tgauth.rbac/rbacSoap/TgExtra.class.php @@ -1479,11 +1479,18 @@ class TgExtra { // Set the project-description and name + $arrModify['tgprojectname'][] = $inRequest->name; + preg_match( "/.+/", $inRequest->description ) ? $arrModify['tgprojectdescription'][] = $inRequest->description : false; + preg_match( "/.+/", $inRequest->file ) ? $arrModify['tgprojectfile'][] = $inRequest->file : false; + $connection->modify( $this->rbac->getConfiguration()->getValue( "role", "namingattribute" ) . "=TGPR" . ($maxNumber + 1) . "," . $this->rbac->getConfiguration()->getValue( "project", "base" ), + $arrModify ); +/* Array( "tgprojectdescription" => Array( $inRequest->description ), "tgprojectname" => Array( $inRequest->name ), "tgprojectfile" => Array( $inRequest->file ) ) ); +*/ $this->rbac->addActiveRole( $username, $inRequest->auth, $this->rbac->getConfiguration()->getValue( "role", "namingattribute" ) . "=Projektleiter,"