← Back to team overview

mahara-contributors team mailing list archive

[Bug 1828309] A change has been merged

 

Reviewed:  https://reviews.mahara.org/9983
Committed: https://git.mahara.org/mahara/mahara/commit/e168d22f5534d0e830ecbb535c096b4cbd1e6fdd
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit e168d22f5534d0e830ecbb535c096b4cbd1e6fdd
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Thu May 9 10:25:57 2019 +1200

Bug 1828309: Allow adding members to an institution with admin/staff
role

Via the addUserAsMember() function

By creating addUserAsStaff() and addUserAsAdmin() wrappers

behatnotneeded

Change-Id: Ie6c973377cb81e5aeb904b07103a324456796599
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

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

Title:
  Create institution addUserAsStaff() and addUserAsAdmin() wrapper
  functions

Status in Mahara:
  Fix Committed

Bug description:
  We have an $institution->addUserAsMember() function that adds a user
  to an institution it would be good to make a couple of wrapper
  functions so that we can add them as institution staff or institution
  admin role during the add member process

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


References