GitHub user jihuayu added a comment to the discussion: ACL Proposal

> Nope. Only the admin user can create new ACL users. Namespace should be 
> specified explicitly in the ACL string (can be omitted if it is the default 
> namespace).

So, do we only allow the admin to use ALL ACL commands?


@PragmaTwice 
Yes, it is version field in metadata. 8byte = 64bit = sizeof(uint64_t). Did I 
miscalculate?


```
                   
+-------------+-------------+---------+----------------------------------+
 acl|user name =>  |  ns size    |  namespace  | version | redis ACL SETUSER 
commands string|
                   | (1byte: X)  |   (Xbyte)   | (8byte) |       (Nbyte)        
            |
                   
+-------------+-------------+---------+----------------------------------+
```

GitHub link: 
https://github.com/apache/kvrocks/discussions/3234#discussioncomment-14788765

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to