Institution admin and staff role should update on login via SAML

Bug #1960573 reported by Kristina Hoeppner
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Unassigned

Bug Description

When you use SAML, you can define site admin and staff as well as institution admin and staff roles to give to account holders automatically.

Currently, the site admin and site staff roles update when a person logs in. However, that is not happening for institution admin and institution staff on subsequent logins unless the config.php variable usersuniquebyusername is used. We can't think of a contemporary reason for this restriction and think it would be best if the institution staff and institution admin roles could also be updated on login like site staff and admin and not only upon account creation.

Tags: newfeature
description: updated
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :
Revision history for this message
Adam (adam-jtm30) wrote :
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/c/mahara/+/12612
Committed: https://git.mahara.org/mahara/mahara/commit/5515b0194e18a1d87283ce28809d2ef4f0d4b390
Submitter: "Robert Lyon <email address hidden>"
Branch: main

commit 5515b0194e18a1d87283ce28809d2ef4f0d4b390
Author: Adam Bark <email address hidden>
Date: Tue Apr 19 15:18:16 2022 -0500

Bug 1960573: Update institution roles on login with SAML

If a user is given a role on the IdP that should give them a role in a
Mahara institution such as institution staff or admin make sure they
have that role in Mahara.

Change-Id: I4426cfbd675b22b102ecf87fdd5037f3cdce3c3e

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "22.04_DEV" branch: https://reviews.mahara.org/c/mahara/+/12641

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/c/mahara/+/12641
Committed: https://git.mahara.org/mahara/mahara/commit/1fdcab8d8227a7d3c0bb7fb20e2df420fd142a65
Submitter: "Robert Lyon <email address hidden>"
Branch: 22.04_DEV

commit 1fdcab8d8227a7d3c0bb7fb20e2df420fd142a65
Author: Adam Bark <email address hidden>
Date: Tue Apr 19 15:18:16 2022 -0500

Bug 1960573: Update institution roles on login with SAML

If a user is given a role on the IdP that should give them a role in a
Mahara institution such as institution staff or admin make sure they
have that role in Mahara.

Change-Id: I4426cfbd675b22b102ecf87fdd5037f3cdce3c3e
(cherry picked from commit 5515b0194e18a1d87283ce28809d2ef4f0d4b390)

Robert Lyon (robertl-9)
Changed in mahara:
milestone: none → 22.04.0
status: Confirmed → Fix Committed
tags: added: newfeature
Gold (gold.catalyst)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.