SAK-39606 added code that will "upgrade" a user from a manually-added role to being a provided user (e.g., can't be removed from the site the way a manually-added user can be). But this code only works with identical role names. So if a user is manually added as a "Student" and they are found in the feed as a "Student", the code works fine. The code doesn't handle different role names (e.g., promoting a user from manually-added Student to Instructor).
The expected result is that the official role from the provider overrides the manually-provided role.
Checking as the instructor confirms that the provider role has correctly overridden the manually-provided role.
Thomas Kelsey January 11, 2023 at 9:44 PM
, I’m not sure if I understand your test plan. Is the user who I modify not supposed to have their role changed? And why does it matter whether an instructor or admin checks that the role has changed? Thanks for your help!
SAK-39606 added code that will "upgrade" a user from a manually-added role to being a provided user (e.g., can't be removed from the site the way a manually-added user can be). But this code only works with identical role names. So if a user is manually added as a "Student" and they are found in the feed as a "Student", the code works fine. The code doesn't handle different role names (e.g., promoting a user from manually-added Student to Instructor).