-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loose coupling: security module #1630
Merged
Merged
Changes from 78 commits
Commits
Show all changes
79 commits
Select commit
Hold shift + click to select a range
a5a6bb3
always create user before credentials
vidiben 09444a5
[wip] loose coupling: security module
scottinet fa5c561
[wip] loose coupling: security module
scottinet 37cb022
Merge remote-tracking branch 'origin/security-create-user-before-cred…
scottinet 807747b
[refactor] replace kuzzle arg with kuzzle property
scottinet 3ae7403
Merge remote-tracking branch 'origin/security-create-user-before-cred…
scottinet 16202e1
[wip] loose coupling: security module
scottinet e526c45
Merge remote-tracking branch 'origin/2-dev' into security-create-user…
scottinet cb79770
[test] update unit tests
scottinet c6d12f5
Merge remote-tracking branch 'origin/security-create-user-before-cred…
scottinet 6916566
[wip] loose coupling: security module
scottinet e5b48f8
[wip] loose coupling: security module
scottinet 9de12cc
Merge remote-tracking branch 'origin/loose-coupling-refactor-core-dir…
scottinet 8e03a3a
[wip] loose coupling: security module
scottinet d425abc
[fix] forgot to add the user identifier to the update role call
scottinet f04cce5
Merge remote-tracking branch 'origin/loose-coupling-refactor-core-dir…
scottinet dc45c5c
[wip] loose coupling: security module
scottinet dd6cfee
[refactor] use singular form for directory names
scottinet 656f6e7
Merge remote-tracking branch 'origin/2-dev' into loose-coupling-refac…
scottinet 80ef4a1
[refactor] update the error code documentation builder
scottinet 7d084bd
Merge remote-tracking branch 'origin/2-dev' into loose-coupling-refac…
scottinet 48413b2
Merge remote-tracking branch 'origin/loose-coupling-refactor-core-dir…
scottinet 7b7abcc
[doc] deprecated plugin.context.errorsManager and alias it to plugin.…
scottinet 88e1447
Merge remote-tracking branch 'origin/loose-coupling-refactor-core-dir…
scottinet 59f3d28
[wip] loose coupling: security module
scottinet f137379
[wip] loose coupling: security module
scottinet 4e4cfc5
[wip] loose coupling: security module
scottinet 1f0f8d0
Merge remote-tracking branch 'origin/2-dev' into loose-coupling-security
scottinet 3da7209
[wip] loose coupling: security module
scottinet 0e6e105
Merge remote-tracking branch 'origin/2-dev' into loose-coupling-security
scottinet cdab1b6
[test] wip - fix/update functional tests
scottinet e855d91
[test] fix/update functional tests
scottinet f72dbf3
[fix] resolve lint errors
scottinet cc5dfc2
[test] wip - fix/update unit tests
scottinet 1c9b690
[test] wip - fix/update unit tests
scottinet 8e7133d
[test] wip - fix/update unit tests
scottinet 6fa962d
Merge remote-tracking branch 'origin/2-dev' into loose-coupling-security
scottinet d3e8940
[test] wip - fix/update unit tests
scottinet b01c215
[test] wip - fix/update unit tests
scottinet 71ab418
[test] wip - fix/update unit tests
scottinet bf9de1b
[test] wip - fix/update unit tests
scottinet c44fe30
Merge remote-tracking branch 'origin/2-dev' into loose-coupling-security
scottinet 3a630f0
[tests] fix unit tests
scottinet 5a6ae5b
[tests] fix unit tests
scottinet 3cf74bf
[tests] fix unit tests
scottinet 6273f9d
[tests] fix unit tests
scottinet 70c7674
Merge remote-tracking branch 'origin/2-dev' into loose-coupling-security
scottinet e6a57fb
Merge remote-tracking branch 'origin/2-dev' into loose-coupling-security
scottinet 26991fa
Merge remote-tracking branch 'origin/2-dev' into loose-coupling-security
scottinet e7a21f7
[tests] fix unit tests
scottinet fc3900b
[doc] typo fix
scottinet 37fb9a3
[functests] fix erroneous function call
scottinet 51ebcd9
[tests] fix unit tests
scottinet 81112b3
[tests] new unit tests
scottinet b5a54f9
Merge remote-tracking branch 'origin/2-dev' into loose-coupling-security
scottinet 3e07870
[tests] unit tests: profileRepository
scottinet 3cffba8
[tests] unit tests: roleRepository (part 1)
scottinet 9680a98
Merge remote-tracking branch 'origin/2-dev' into loose-coupling-security
scottinet b7b2731
Merge remote-tracking branch 'origin/2-dev' into loose-coupling-security
scottinet 9f2e592
Merge remote-tracking branch 'origin/2-dev' into loose-coupling-security
scottinet b403ffb
[tests] unit tests: roleRepository (part 2)
scottinet ce41e43
[test] remove debug opts
scottinet 3a3a04e
[tests] fix warning on a non-error promise rejection
scottinet 6564035
[tests] unit tests: userRepository (part 1)
scottinet 155ecd9
Merge remote-tracking branch 'origin/2-dev' into loose-coupling-security
scottinet 4495ad0
[tests] unit tests: userRepository (end)
scottinet 635b1ab
[tests] unit tests: tokenRepository
scottinet 8f74f4a
[tests] unit tests: securityLoader
scottinet d4e3989
[tests] unit tests: securityLoader
scottinet bc50bba
[fix] remove limitation on ids with a leading underscore
scottinet f13958d
[fix] forgot to update auth:updateSelf with the new user:update proto…
scottinet f170430
[fix] this is the very last commit. I promise.
scottinet e2d273c
[fix] ok I lied. THIS is the last one
scottinet 70254ba
Merge remote-tracking branch 'origin/2-dev' into loose-coupling-security
scottinet 9d70e3b
Merge remote-tracking branch 'origin/2-dev' into loose-coupling-security
scottinet edd30fa
[errors] throw a runtime assertion failed instead of a dedicated orph…
scottinet 9ec2753
[errors] update error documentation
scottinet 1aaa9a5
[fix] apply @aschen's suggestions
scottinet 55cd119
Merge remote-tracking branch 'origin/2-dev' into loose-coupling-security
scottinet File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Review help]
The
ids
arguments passed tosecurity:mGetRoles
was:Now that
security:mGetRoles
is stricter, this test fails with asecurity.role.not_found
exception, because there is no role with the id['0', 'test-role']
.