antirez
54daf88c7a
ACL: ACLDescribeUserCommandRules(): add final commands.
2019-01-29 18:41:11 +01:00
antirez
fdab4184c5
ACL: initial design for ACLDescribeUserCommandRules() and helpers.
2019-01-29 17:25:05 +01:00
antirez
0fac4c665f
ACL: refactoring and fix of adding subcommands to users.
2019-01-28 18:40:54 +01:00
antirez
78ec341983
ACL: reset the subcommands table on +@all / -@all.
...
This also is a bugfix because after -@all the previously enabled
subcommands would remain valid.
2019-01-28 18:27:42 +01:00
antirez
59380e8c9f
ACL: fix crash when checking for subcommands.
2019-01-28 18:15:59 +01:00
antirez
5e3205ac83
ACL: remove leak when removing passwords/patterns.
2019-01-28 12:11:11 +01:00
antirez
af7ca7fb76
ACL: fix command bit check.
2019-01-26 12:51:43 +01:00
antirez
1b72830c3c
ACL: remove the ALLCOMMANDS user flag at a safer place.
...
This fixes -@<category> as a side effect.
2019-01-25 13:27:33 +01:00
antirez
f41290486d
ACL: fix command ID assignment off by one error.
2019-01-25 13:07:20 +01:00
antirez
9e4c9419db
ACL: remove useless NULL check.
2019-01-25 13:00:49 +01:00
antirez
d495650ceb
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2019-01-25 13:00:30 +01:00
zhaozhao.zz
1bf96b873e
ACL: fix memory leak when key patterns no match
2019-01-25 19:35:18 +08:00
zhaozhao.zz
628839ff35
ACL: check patterns instead of passwords in ACLCheckCommandPerm
2019-01-25 19:06:18 +08:00
antirez
da741f4967
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2019-01-25 11:27:34 +01:00
Salvatore Sanfilippo
875cc2d689
Merge pull request #5801 from soloestoy/fix-getuser-null-pointer
...
ACL: fix null pointer in getuser
2019-01-25 11:27:21 +01:00
antirez
c3bd28f414
ACL: + and - opcode for categories implemented.
2019-01-24 18:15:46 +01:00
antirez
351def1e9e
ACL: ACLSetUserCommandBitsForCategory() low level API.
2019-01-24 18:11:09 +01:00
antirez
c9cdbbad7f
ACL: populate category flags from command table.
2019-01-23 16:59:09 +01:00
zhaozhao.zz
c38cba7924
ACL: fix null pointer in getuser
2019-01-23 23:57:18 +08:00
antirez
aad7757fd3
ACL: define category names and flags.
2019-01-23 16:47:29 +01:00
antirez
460c760e71
ACL: command categories added to the command table.
2019-01-23 12:15:10 +01:00
antirez
8316ab7b46
ACL: specify better the +@all semantics in comments.
2019-01-23 11:05:54 +01:00
antirez
9db3d95d34
ACL: ACLUserCanExecuteFutureCommands() function added.
2019-01-23 08:14:56 +01:00
antirez
75f40e77b0
ACL: better define name, and the idea of reserved ID.
2019-01-23 08:10:57 +01:00
antirez
b557f6b230
ACL: setuser nocommands / -@all implemented.
2019-01-22 17:57:20 +01:00
antirez
a148668063
ACL: setuser reset implemented.
2019-01-22 17:57:20 +01:00
antirez
f6ab49e13f
ACL: setuser resetkeys implemented.
2019-01-22 17:57:20 +01:00
antirez
8fe1aa1bf6
ACL: subcommand matching.
2019-01-22 17:57:20 +01:00
antirez
fe5efdb00b
ACL: setting single commands ACLs implementation.
2019-01-22 17:57:20 +01:00
antirez
6e15e17ded
ACL: GetUserCommandBit() is a much better name for the function.
2019-01-22 17:57:20 +01:00
antirez
458e092b61
ACL: user commands bitmap check refactoring for new features.
2019-01-22 17:57:20 +01:00
antirez
0269ed15ad
ACL: handle command IDs in case insensitive way.
2019-01-22 17:57:20 +01:00
zhaozhao.zz
75a55216ba
ACL: fix compile warnings
2019-01-21 14:53:46 +08:00
antirez
a5e69e6729
ACL: remove server.requirepass + some refactoring.
2019-01-18 11:49:30 +01:00
antirez
28a026486d
ACL: implement resetpass directive and adjust test.
2019-01-18 11:26:32 +01:00
antirez
944e8c5a3a
ACL: partial implementation of ACL GETUSER.
2019-01-17 18:19:04 +01:00
antirez
9f666e4710
ACL: fix and improve ACL key checking.
2019-01-16 18:31:05 +01:00
antirez
edada0e438
ACL: create the user pattern list ASAP.
2019-01-16 13:50:00 +01:00
antirez
cd486b983b
ACL: key matching implemented.
2019-01-16 13:39:04 +01:00
antirez
02f8e9c8a6
ACL: implement the key match opcode in ACLSetUser().
2019-01-16 13:29:04 +01:00
antirez
bc98e2d20f
ACL: the AUTH command can be always executed.
2019-01-15 18:26:44 +01:00
antirez
770a284a8c
ACL: AUTH uses users. ACL WHOAMI implemented.
2019-01-15 18:16:20 +01:00
antirez
2977505cc1
ACL: nopass user setting.
...
This is needed in order to model the current behavior of authenticating
the connection directly when no password is set. Now with ACLs this will
be obtained by setting the default user as "nopass" user. Moreover this
flag can be used in order to create other users that do not require any
password but will work with "AUTH username <any-password>".
2019-01-15 13:16:31 +01:00
antirez
790df6a7d9
ACL: ability to set/remove user passwords.
2019-01-15 12:58:54 +01:00
antirez
efd8fa754f
ACL: initial implementation of the ACL command.
2019-01-15 09:36:12 +01:00
antirez
5fe83f2a9b
ACL: ACLCheckCommandPerm() implementation WIP.
2019-01-14 18:35:21 +01:00
antirez
47ca51103a
ACL: fix field name typo causing segfault.
2019-01-14 16:09:29 +01:00
antirez
c4f8e516cb
ACL: Add skeleton for function checking ability to execute a command.
2019-01-14 13:19:50 +01:00
antirez
924bf9e55a
ACL: ACLSetUser(), add allcommands in comment.
2019-01-14 13:19:42 +01:00
antirez
4045bd1ff6
ACL: ACLSetUser(), fix flag and add allcommands +@all opcode.
2019-01-14 13:18:12 +01:00