If I understand the issue being reported here, the following change
should address the issue - https://reviews.mahara.org/#/c/5746/.
* If no groups are specified in webservice call, then non-institution groups
are retrieved (those groups with NULL institution in group table).
* For webservice access where no institution is set it now allows access to
those groups (i.e. where WEBSERVICE_INSTITUTION is 'mahara' which is equivalent
to NULL institution in group table).
Where a shortname is specified, the institution is still required.
--
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/1393620
Title:
webservices: get_groups_by_id requires institution
Status in Mahara:
Confirmed
Status in Mahara 15.04 series:
Confirmed
Status in Mahara 15.10 series:
Confirmed
Status in Mahara 16.04 series:
Confirmed
Bug description:
Currently the webservices method to fetch group information by id
requires the group to have institution set.
Will need to be adjusted to allow for groups not attached to an
institution.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1393620/+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