← Back to team overview

mahara-contributors team mailing list archive

[Bug 1770496] A change has been merged

 

Reviewed:  https://reviews.mahara.org/8854
Committed: https://git.mahara.org/mahara/mahara/commit/f27ca90051c777b29dddb6ae57e5c59ed55bb77f
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    17.10_STABLE

commit f27ca90051c777b29dddb6ae57e5c59ed55bb77f
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Fri May 11 08:32:48 2018 +1200

Bug 1770496: Validate access for member to a public group

When site public pages are turned off.

If the user is a member of a group that has 'public' access and the
site 'Allow public pages' are turned off, the user should be able to
view the group's home page - therefore allowing them to paginate
through the "Group portfolios" block in the group home page.

behatnotneeded

Change-Id: I1ea49927532f967c8a676b8a1590d1db3787cfc2
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
(cherry picked from commit 7d9d1b29a26edb1b0675cc0c7c6bff235cbbbe1e)

-- 
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/1770496

Title:
  Group member can't paginate through group pages

Status in Mahara:
  Fix Committed
Status in Mahara 17.04 series:
  Fix Committed
Status in Mahara 17.10 series:
  Fix Committed
Status in Mahara 18.04 series:
  In Progress
Status in Mahara 18.10 series:
  Fix Committed

Bug description:
  When the following settings are being used:

  1) Site options -> General settings -> Allow public pages = false
  2) Group settings -> Publicly viewable group = true
  3) Group has a bunch of pages so that the "Group portfolios" block has pagination happening

  If a normal group member goes to the group homepage and tries to
  paginate through "Group portfolios" they get an 'Access denied' error.

  Public profile pages do ignore the 'allow public pages' switch when
  'false' - as that switch is only meant for portfolio pages and not
  special pages.

  As the group home page is also a special page it also needs to be
  respected as such.

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


References