← Back to team overview

mahara-contributors team mailing list archive

[Bug 1429647] Re: Watchlist lets you watch and receive notifications about pages you don't have view access to

 

This bug report is based mostly on looking at the code. I still have to
actually run some tests to determine whether the code behaves as I think
it does...

** Information type changed from Public to Private Security

** Also affects: mahara/1.8
   Importance: Undecided
       Status: New

** Also affects: mahara/15.04
   Importance: Medium
       Status: Triaged

** Also affects: mahara/1.10
   Importance: Undecided
       Status: New

** Also affects: mahara/15.10
   Importance: Undecided
       Status: New

** Also affects: mahara/1.9
   Importance: Undecided
       Status: New

** Changed in: mahara/1.9
       Status: New => Triaged

** Changed in: mahara/15.10
       Status: New => Triaged

** Changed in: mahara/1.8
       Status: New => Triaged

** Changed in: mahara/1.10
       Status: New => Triaged

** Changed in: mahara/1.10
   Importance: Undecided => Medium

** Changed in: mahara/1.8
   Importance: Undecided => Medium

** Changed in: mahara/1.9
   Importance: Undecided => Medium

** Changed in: mahara/15.10
   Importance: Undecided => Medium

** Changed in: mahara/15.10
    Milestone: None => 15.10.0

** Changed in: mahara/1.9
    Milestone: None => 1.9.5

** Changed in: mahara/1.8
    Milestone: None => 1.8.7

** Changed in: mahara/1.10
    Milestone: None => 1.10.3

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1429647

Title:
  Watchlist lets you watch and receive notifications about pages you
  don't have view access to

Status in Mahara ePortfolio:
  Triaged
Status in Mahara 1.10 series:
  Triaged
Status in Mahara 1.8 series:
  Triaged
Status in Mahara 1.9 series:
  Triaged
Status in Mahara 15.04 series:
  Triaged
Status in Mahara 15.10 series:
  Triaged

Bug description:
  In analyzing watchlist bug 1429505 (pages stay on your watchlist even
  if you lose access to them) I noticed a couple of things in the code:

  1. You apparently still can receive watchlist notifications about
  pages on your watchlist which you don't have access to.

  2. There are no access control checks in togglewatchlist.json.php, so
  it is apparently possible to add a page to your watchlist even if you
  don't have access to it.

  Together, these bugs mean that a user could watch private pages, and
  receive notifications about changes to those pages. While these
  notifications would not contain the actual page content, they would
  contain the title of the page and the names of blocks and/or artefacts
  changed in the page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1429647/+subscriptions


References