Patch for "17.10_STABLE" branch: https://reviews.mahara.org/8349

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

Title:
  Unable to view public group homepage when logged out

Status in Mahara:
  Fix Committed
Status in Mahara 17.10 series:
  Fix Committed
Status in Mahara 18.04 series:
  Fix Committed

Bug description:
  When we have the follow in play:

  1) A group that has "public" = 1
  2) a group homepage where the group pages block has 
$configdata['showsubmitted'] = 1

  When a logged out user tries to view the group homepage we get an
  error:

  group_user_access: user argument should be an integer

  This is because the logged out user can't be compared to a group
  member/admin

  We need to add a $USER->is_logged-in() check before going down that
  rabbithole

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to