Merge lp:~mhall119/wordpress-teams-integration/fix-role-assignment into lp:wordpress-teams-integration
Proposed by
Michael Hall
Status: | Merged |
---|---|
Approved by: | Michael Hall |
Approved revision: | 29 |
Merged at revision: | 28 |
Proposed branch: | lp:~mhall119/wordpress-teams-integration/fix-role-assignment |
Merge into: | lp:wordpress-teams-integration |
Diff against target: |
65 lines (+26/-14) 1 file modified
openid-teams.php (+26/-14) |
To merge this branch: | bzr merge lp:~mhall119/wordpress-teams-integration/fix-role-assignment |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Danny Tamez (community) | Approve | ||
Matthew Nuzum (community) | Approve | ||
Review via email: mp+69831@code.launchpad.net |
Commit message
Pass user identity and team membership information on the session between the openid callback and the login callback
Description of the change
Overview
========
The mapping between LP Teams and WP Roles was not being set at user login
Details
=======
User and team information was being lost between callback requests, they need to be stored in the user's session.
To post a comment you must log in.
Looks good. Tested both with and without authorized team access and it authenticated properly with the right team mapping and failed to authenticate when the proper team mapping was missing.