← Back to team overview

mahara-contributors team mailing list archive

[Bug 1828309] A change has been merged

 

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

commit 5d825f94996938d7fd409e9a4fd91024b0c81c00
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Thu May 9 11:52:41 2019 +1200

Bug 1828309: Adjust create_user() function

Allow it to add a user to an institution with either staff or admin
priveleges by default

behatnotneeded

Change-Id: I596b7edc730267210f4ff825a8fcb044606686a5
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