Skip to content

Commit

Permalink
Fixed issue #12169: Import permission for Central Participant Databas…
Browse files Browse the repository at this point in the history
…e not available
  • Loading branch information
c-schmitz committed Mar 3, 2017
1 parent e65cf08 commit 725915a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion application/models/Permission.php
Expand Up @@ -214,7 +214,6 @@ public static function getGlobalBasePermissions()
'img' => 'global'
),
'participantpanel' => array(
'import' => false,
'title' => gT("Central participant database"),
'description' => gT("Permission to create participants in the central participants database (for which all permissions are automatically given) and view, update and delete participants from other users"),
'img' => 'cpdb'
Expand Down
2 changes: 1 addition & 1 deletion application/models/User.php
Expand Up @@ -418,7 +418,7 @@ class='btn btn-default btn-xs '>
}
if (Yii::app()->session['loginID'] == "1" && $this->parent_id !=1 ) {
//'admin/user/sa/setasadminchild'
$changeOwnership = "<button data-toggle='tooltip' data-url='".$changeOwnershipUrl."' data-user='".htmlspecialchars($oUser['full_name'])."' data-uid='".$this->uid."' data-action='setasadminchild' title='".gT("Take ownership")."' class='btn btn-default btn-sm action_usercontrol_button' type='submit'><span class='icon-takeownership text-success'></span></button>";
$changeOwnership = "<button data-toggle='tooltip' data-url='".$changeOwnershipUrl."' data-user='".htmlspecialchars($oUser['full_name'])."' data-uid='".$this->uid."' data-action='setasadminchild' title='".gT("Take ownership")."' class='btn btn-default btn-xs action_usercontrol_button' type='submit'><span class='icon-takeownership text-success'></span></button>";
}
}
return "<div>"
Expand Down

0 comments on commit 725915a

Please sign in to comment.