Sets the permissions of a user created through the redis module * interface. The syntax is the same as ACL SETUSER, so refer to the * documentation in acl.c for more information. See RM_CreateModuleUser * for detailed usage. * * Returns REDISMODULE_OK on success and REDISMODULE_ERR on failure * and will set an errno describing why the operation failed. */
| 6708 | * Returns REDISMODULE_OK on success and REDISMODULE_ERR on failure |
| 6709 | * and will set an errno describing why the operation failed. */ |
| 6710 | int RM_SetModuleUserACL(RedisModuleUser *user, const char* acl) { |
| 6711 | return ACLSetUser(user->user, acl, -1); |
| 6712 | } |
| 6713 | |
| 6714 | /* Authenticate the client associated with the context with |
| 6715 | * the provided user. Returns REDISMODULE_OK on success and |
nothing calls this directly
no test coverage detected