Page not accessible after reporting it as objectionable

Bug #1383029 reported by Kristina Hoeppner on 2014-10-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Aaron Wells
Aaron Wells

Bug Description


1. User 1 reports the page of User 2 as objectionable.
2. User 1 cannot see the page of User 2 anymore although he should still be able to during the objectionable content period.

This is a regression from Mahara 1.9.

Aaron Wells (u-aaronw) wrote :

Git bisect indicates the cause is, the patch that refactored the objectionable content page.

The specific behavior of this is:

1. If the page is marked objectionable, users who try to view the page see "Access denied: You do not have permission to view this page"

2. This does not apply to the page owner or admins

3. For the user who reports the page objectionable, the page continues to display after they send off their report. It doesn't get "hidden" until they refresh the page.

4. The page still shows up in the "latest pages" block (and possibly elsewhere)

Many social networking sites do have features to automatically hide pages when they're marked objectionable (or when a certain number of people mark them objectionable), and we might want to do that eventually in Mahara. But I think this particular bit of behavior we're seeing right now is indeed a bug rather than a proper attempt at auto-hiding objectionable pages. So I'll push a patch to fix it.

Aaron Wells (u-aaronw) wrote :
Aaron Wells (u-aaronw) wrote :
Aaron Wells (u-aaronw) wrote :

I accidentally put the wrong bug number in the commit messages for these patches, so they didn't get listed here. :-P

Robert Lyon (robertl-9) on 2015-04-17
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers