Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue #16766: Simple user reset Survey group to default one #1628

Merged
merged 1 commit into from
Oct 22, 2020

Conversation

Shnoulle
Copy link
Collaborator

Dev: use same criteria for search and list

Dev: use same criteria for search and list
$criteriaPerm->compare('permissions.read_p', '1', false, 'OR');
$criteriaPerm->compare('t.gsid', '1', false, 'OR'); // "default" survey group
}
return $criteriaPerm;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The place for a new plugin event for Permission ;)

@cdorin93 cdorin93 added the Tested OK This PR has been tested by QA and works as expected label Oct 21, 2020
@Shnoulle Shnoulle merged commit 2ee8c8f into LimeSurvey:3.x-LTS Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tested OK This PR has been tested by QA and works as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants