-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pablo Panero
committed
May 18, 2022
1 parent
3f8c458
commit 27647b6
Showing
14 changed files
with
17 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,22 +105,22 @@ | |
{ | ||
"email": "[email protected]", | ||
"password": "somepassword", | ||
"username": "test-user", | ||
"profile": { | ||
"username": "test-user", | ||
"full_name": "Test User", | ||
} | ||
} | ||
# precedence_mask | ||
{ | ||
"email": True, | ||
"username": True, | ||
"profile": { | ||
"username": True, | ||
"full_name": False, | ||
} | ||
} | ||
Then, the values for `email` and `username` from the | ||
Then, the values for `email` and `profile.username` from the | ||
`user_info` would be overriding any user input from the registration | ||
form. | ||
All other values would be used as provided by the user in the form. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,7 +94,7 @@ def test_account_info(app, example_cern): | |
user=dict( | ||
email='[email protected]', | ||
profile={ | ||
'full_name': u'Test Account', 'username': 'taccount', | ||
'full_name': u'Test Account', 'username': u'taccount' | ||
}, | ||
), | ||
external_id='123456', external_method='cern', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ def example_cern_openid(request): | |
), dict( | ||
user=dict( | ||
email='[email protected]', | ||
profile=dict(full_name='John Doe', username='jdoe'), | ||
profile=dict(username='jdoe', full_name='John Doe'), | ||
), | ||
external_id='222222', external_method='cern_openid', | ||
active=True | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,7 @@ def example_cern_openid_rest(request): | |
), dict( | ||
user=dict( | ||
email='[email protected]', | ||
profile=dict(full_name='John Doe', username='jdoe'), | ||
profile=dict(username='jdoe', full_name='John Doe'), | ||
), | ||
external_id='222222', external_method='cern_openid', | ||
active=True | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters