** Changed in: mahara
       Status: New => Invalid

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!

  webservice mahara_user_get_users doesn't work (or do what it implies)

Status in Mahara:

Bug description:
  There's no reason to suspect from the description that this function
  does anything other than return all users on the site. However,
  running it returns an empty array

  On further investigation, the query returning the users looks for them
  being in an institution called $WEBSERVICE_INSTITUTION (a global
  variable!!). I think what's going on is that the authentication code
  is trying to set the global to match the institution of the user using
  webservices so that it only returns that user's list of users.
  However, if that person has admin rights then it probably isn't going
  to work.

  I'm not sure that this is really a bug or it's working as intended,
  but it probably needs to be made clearer what it actually does. This
  institution 'side affect' seems to effect a number of the services.

To manage notifications about this bug go to:

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