Created
May 15, 2016 19:36
-
-
Save rnewson/4c809057c9099f6de5e75c05a2c6eb12 to your computer and use it in GitHub Desktop.
admin_local test
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
; everyone | |
➜ ~ curl foo:bar@localhost:15984/db1/_security; curl foo:bar@localhost:15986/db1/_security | |
{} | |
{} | |
; admin_only | |
➜ ~ curl foo:bar@localhost:15984/db1/_security; curl foo:bar@localhost:15986/db1/_security | |
{"members":{"roles":["_admin"]},"admins":{"roles":["_admin"]}} | |
{"members":{"roles":["_admin"]},"admins":{"roles":["_admin"]}} | |
; admin_local | |
➜ ~ curl foo:bar@localhost:15984/db1/_security; curl foo:bar@localhost:15986/db1/_security | |
{} | |
{"members":{"roles":["_admin"]},"admins":{"roles":["_admin"]}} | |
➜ ~ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment