← Back to team overview

mahara-contributors team mailing list archive

[Bug 1420590] Re: access denied error when editing group as group admin

 

Warning message I got for 1.9:

[WAR] b6 (lib/form/elements/wysiwyg.php:87) Invalid argument supplied for foreach()
Call stack (most recent first):
log_message("Invalid argument supplied for foreach()", 8, true, true, "/home/sonn/code/mahara/1.9/htdocs/lib/form/element...", 87) at /home/sonn/code/mahara/1.9/htdocs/lib/errors.php:439
error(2, "Invalid argument supplied for foreach()", "/home/sonn/code/mahara/1.9/htdocs/lib/form/element...", 87, array(size 2)) at /home/sonn/code/mahara/1.9/htdocs/lib/form/elements/wysiwyg.php:87
pieform_element_wysiwyg_get_headdata(array(size 8)) at /home/sonn/code/mahara/1.9/htdocs/lib/pieforms/pieform.php:1725
pieform_get_headdata() at /home/sonn/code/mahara/1.9/htdocs/lib/web.php:92
smarty(array(size 0), array(size 0), array(size 0), array(size 1)) at /home/sonn/code/mahara/1.9/htdocs/lib/errors.php:574
MaharaException->handle_exception() at /home/sonn/code/mahara/1.9/htdocs/lib/errors.php:465
exception(object(AccessDeniedException)) at Unknown:0

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

Title:
  access denied error when editing group as group admin

Status in Mahara ePortfolio:
  In Progress
Status in Mahara 1.10 series:
  New
Status in Mahara 1.9 series:
  New

Bug description:
  Get a:
   
  You do not have access to view this page.

  group_update: cannot update a group in this institution

  error - this is due a group admin that is only in the 'no insitituion'
  (mahara) institution doesn't have the expected info set in their $USER
  data.

  So need to make an exception for the 'mahara' institution.

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


References