Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue: Original superadmin (UID 1) should always be able to edi…
…t other users passwords
- Loading branch information
7e7b495
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No , usage of forced super admin
LimeSurvey/application/models/Permission.php
Line 530 in 5a57e49
I can fix and push if needed :)
7e7b495
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<?php if( !Permission::model()->hasGlobalPermission('superadmin','read', $oUser->uid) || (Permission::isForcedSuperAdmin(Permission::getUserId())): ?>
with
LimeSurvey/application/models/Permission.php
Line 613 in 5a57e49
:)
7e7b495
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense. Thank you!