← Back to team overview

mahara-contributors team mailing list archive

[Bug 1839032] [NEW] Adjust find_by_instanceid_username() function to allow check remote then fallback to usr table

 

Public bug reported:

Currently the find_by_instanceid_username() function either only checks
the remote user table (auth_remote_user) or it checks the user table
(usr)

It would be more useful if it could do the following:

When $remoteuser flag is set:

- Check remote user table and return user if a match found
- But if no match found then fall back to check user table

When $remoteuser flag is not set:

- Just check user table

** Affects: mahara
     Importance: Wishlist
         Status: In Progress

** Changed in: mahara
   Importance: Undecided => Wishlist

** Changed in: mahara
       Status: New => In Progress

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

Title:
  Adjust find_by_instanceid_username() function to allow check remote
  then fallback to usr table

Status in Mahara:
  In Progress

Bug description:
  Currently the find_by_instanceid_username() function either only
  checks the remote user table (auth_remote_user) or it checks the user
  table (usr)

  It would be more useful if it could do the following:

  When $remoteuser flag is set:

  - Check remote user table and return user if a match found
  - But if no match found then fall back to check user table

  When $remoteuser flag is not set:

  - Just check user table

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


Follow ups