openlab-at-city-tech / webworkqa

WeBWorK integration for WordPress and BuddyPress
GNU General Public License v2.0
4 stars 2 forks source link

"this answered my question" permissions #46

Closed moui72 closed 7 years ago

moui72 commented 7 years ago

If I am logged in as teststudent and I am viewing a question posted by someone else, I can check and uncheck the "this answered my question" box. this will toggle the blue bar on the left, but have no persistent effect.

I think the check boxes should be disabled if I don't have permission to manipulate them

e.g. http://openlabdev.org/webwork-playground/#/problem/local/GraphingSineCosine/identify-period.pg/question-11110

answered-permissions

boonebgorges commented 7 years ago

Good catch. This was due to a typo in the filter that maps OpenLab filter types onto certain WWOL permissions. Fix is ready to test.

bree-z commented 7 years ago

This is fixed. I no longer see the checkbox to mark as answered when viewing another user's question, if logged in as a student. I can see and check it when logged in as testfaculty.

boonebgorges commented 7 years ago

Thanks!