** Summary changed:

- undefined 'form' error when embedding a group image
+ access denied error when editing group as group admin

** Description changed:

- When trying to embed a group image into the group description field and
- then save the form I get
+ Get a:
+  
+ You do not have access to view this page.
  
- 44 (lib/embeddedimage.php:61) Undefined variable: form, referer: http
- ://mahara-devel/group/edit.php?id=3
+ group_update: cannot update a group in this institution
  
- This is due to the prepare_embedded_images() function not actually
- passing in the $from variable so the following line fails
+ 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.
  
- $form->i18n('rule', 'wysiwygimagerights', 'wysiwygimagerights',
- $element);
- 
- But part of this problem is that the file should be publishable by an
- admin member of the group but it doesn't seem to be.
+ So need to make an exception for the 'mahara' institution.

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

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to