Frees a given user and disconnects all of the clients that have been * authenticated with it. See RM_CreateModuleUser for detailed usage.*/
| 6503 | /* Frees a given user and disconnects all of the clients that have been |
| 6504 | * authenticated with it. See RM_CreateModuleUser for detailed usage.*/ |
| 6505 | int RM_FreeModuleUser(RedisModuleUser *user) { |
| 6506 | ACLFreeUserAndKillClients(user->user); |
| 6507 | zfree(user); |
| 6508 | return REDISMODULE_OK; |
| 6509 | } |
| 6510 | |
| 6511 | /* Sets the permissions of a user created through the redis module |
| 6512 | * interface. The syntax is the same as ACL SETUSER, so refer to the |
nothing calls this directly
no test coverage detected