← Back to team overview

mahara-contributors team mailing list archive

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

 

For testing:

1) create a groups.csv file for uploading groups via csv - eg:

shortname,displayname,roles,editroles
groupone,Group One,standard,admin
grouptwo,Group Two,standard,all

2) make sure when you upload the groups that the institution is set to
'no institution'

3) create a groupmembers.csv file for updating group members for the
groups you just made - eg:

shortname,username,role
mygroupone,test01,admin
mygrouptwo,test02,admin

4) log into the site as the user, eg test01 and go and edit the group -
update the description field

5) On save you should get:

[WAR] bc (lib/form/elements/wysiwyg.php:87) Invalid argument supplied
for foreach()

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


References