Skip to content

Commit

Permalink
Fixed issue #14105: Unable to open Central participant database if lo…
Browse files Browse the repository at this point in the history
…gged in as survey administrator
  • Loading branch information
dominikvitt committed Oct 5, 2018
1 parent 900ebec commit bb814dd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -20,7 +20,7 @@
</div>
<?php
if (Permission::model()->hasGlobalPermission('superadmin', 'read')
|| $this->uid == Yii::app()->session['loginID']
|| $this->user_id == Yii::app()->session['loginID']
|| (Permission::model()->hasGlobalPermission('users', 'update')
&& $this->parent_id == Yii::app()->session['loginID']
)
Expand Down

0 comments on commit bb814dd

Please sign in to comment.