Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
61b98f32
Commit
61b98f32
authored
Mar 20, 2020
by
antirez
Browse files
Regression test for #7011.
parent
34ea2f4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/acl.tcl
View file @
61b98f32
...
...
@@ -248,4 +248,11 @@ start_server {tags {"acl"}} {
r AUTH default
""
assert
{[
llength
[
r ACL LOG
]]
== 5
}
}
test
{
When default user is off, new connections are not authenticated
}
{
r ACL setuser default off
catch
{
set rd1
[
redis_deferring_client
]}
e
r ACL setuser default on
set e
}
{
*NOAUTH*
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment