-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [BOS-4364] Add credentials to Event Store requests * [BOS-4364] Raise exception if Client.publish() is not authenticated * black * a couple of makefile tweaks * progress on getting credentials in, some minor test refactors * fix write tests, lint * found out why a thing * fix travis docker run * standardise on 'credential' not 'credentials' * get rid of some oldfashioned dunderinit things * remove unnecessary test, restore old two-streams-two-events thingie * actually remove unnecessary test * move a sanity-check assert around * tidyup * Linting 🧹 * add a test that unauthenticated access still works * Add blank lines Co-authored-by: Shaunick Mistry <[email protected]>
- Loading branch information
1 parent
628784f
commit 50a0bf5
Showing
11 changed files
with
178 additions
and
119 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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[{ | ||
"eventId": "7c314750-05e1-439f-b2eb-f5b0e019be72", | ||
"eventType": "update-default-acl", | ||
"data": { | ||
"$userStreamAcl" : { | ||
"$r" : ["$admin", "$ops", "test-user"], | ||
"$w" : ["$admin", "$ops", "test-user"], | ||
"$d" : ["$admin", "$ops"], | ||
"$mr" : ["$admin", "$ops"], | ||
"$mw" : ["$admin", "$ops"] | ||
}, | ||
"$systemStreamAcl" : { | ||
"$r" : "$admins", | ||
"$w" : "$admins", | ||
"$d" : "$admins", | ||
"$mr" : "$admins", | ||
"$mw" : "$admins" | ||
} | ||
} | ||
}] |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"LoginName": "test-user", | ||
"FullName": "Test User", | ||
"Groups": [], | ||
"Password": "test-password" | ||
} |
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.