Wiki

Error "cannotviewpage" when student clicks on wiki

 
Picture of Madhu Avasarala
Error "cannotviewpage" when student clicks on wiki
 

On my system (Moodle 3.1+) I created a wiki, individual mode. When an enrolled student clicks on the link she gets the error "cannotviewpage". I checked the capability overview and the enrolled students are allowed to see wiki pages. I don't understand the cause of this error. Any help will of immense help.


 
Average of ratings: -
Picture of Helen Foster
Re: Error "cannotviewpage" when student clicks on wiki
Group Core developersGroup Documentation writersGroup Moodle HQGroup Particularly helpful MoodlersGroup Plugin developersGroup TestersGroup Translators

Hello Madhu,

It sounds as though the permissions have been changed in the course or wiki activity. You can check for a sample student via Course administration > Permissions and Wiki administration > Check permissions. Please see the documentation Permissions for more details.

 
Average of ratings: -
Picture of Madhu Avasarala
Re: Error "cannotviewpage" when student clicks on wiki
 

Hello Helen,

Thank you for your kind reply. I did the check as you suggested and I see that the student has permission to view / add wiki pages and is consistent with the role student's permissions also. It looks to me like perhaps this is a bug?

 
Average of ratings: -
Picture of Madhu Avasarala
Re: Error "cannotviewpage" when student clicks on wiki
 

Solved or at least a workaround. The module's group setting was set to separate groups. When this was set to no groups the problem went away. Evidently when set to separate groups and there are no groups in the course the problem manifests as described. I am still unsure if this is a bug or works as intended.

 
Average of ratings: -