User with tiki_p_take_survey permission cannot see a list of available surveys.
List of surveys is available only for users having both tiki_p_take_survey AND tiki_p_view_stats perms.
Proposed solution:
- to modify function list_surveys (lib/tikilib.php):
from:
$add=$this->user_has_perm_on_object($user,$res'surveyId','survey',array('tiki_p_take_survey','tiki_p_view_survey_stats'));
to:
$add=$this->user_has_perm_on_object($user,$res'surveyId','survey',array('tiki_p_take_survey'/*,'tiki_p_view_survey_stats'*/)) ||$this->user_has_perm_on_object($user,$res'surveyId','survey',array(/*'tiki_p_take_survey',*/'tiki_p_view_survey_stats'))
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |