Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue #14312: Importing participants from CSV is not possible f…
…or user with survey/create global permission
- Loading branch information
1 parent
d6bc2c5
commit 2dc64f3
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2dc64f3
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.
My point of view:
LimeSurvey/application/models/Permission.php
Line 684 in 2dc64f3
In fact current why
LimeSurvey/application/models/Permission.php
Line 684 in 2dc64f3
2dc64f3
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.
Better fix :
LimeSurvey/application/models/Permission.php
Line 685 in 2dc64f3
$sGlobalCRUD == 'update'
this fix this issue : 70c169d
2dc64f3
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.
Case here is different, user doesn't have survey permissions, only global permissions.
2dc64f3
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,
Exactly THIS case :
hasGlobalPermission , surveys