milvus/pkg/util
PowderLi bcd6865b29
enhance: add 3 builtin roles (#28961)
issue: #28960 [milvus-proto
#212](https://github.com/milvus-io/milvus-proto/issues/212)

add new configuration: builtinRoles
user can define roles in config file: `milvus.yaml`

there is an example:
1. db_ro, only have read privileges, include load
2. db_rw, read and write privileges, include create/drop/rename
collection
3. db_admin, not only read and write privileges, but also user
administration

Signed-off-by: PowderLi <min.li@zilliz.com>
2023-12-18 14:28:41 +08:00
..
cache Format the code (#27275) 2023-09-21 09:45:27 +08:00
cgoconverter Fix getting incorrect CPU num (#28146) 2023-11-06 06:02:16 +08:00
commonpbutil Refine state check (#27541) 2023-10-11 21:01:35 +08:00
compressor Fix getting incorrect CPU num (#28146) 2023-11-06 06:02:16 +08:00
conc enhance: make SyncManager pool size refreshable (#29224) 2023-12-15 09:58:43 +08:00
contextutil enhance: Support to trace restful request and request error (#28685) 2023-11-27 20:14:26 +08:00
crypto Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
distance enhance: add efficient distance computations in Go (#28657) 2023-11-28 18:20:26 +08:00
etcd fix: txn control not applied to snapshot.Remove (#29124) 2023-12-12 14:48:38 +08:00
funcutil enhance: add 3 builtin roles (#28961) 2023-12-18 14:28:41 +08:00
gc Fix integration tests logic (#24063) 2023-05-15 14:45:21 +08:00
generic Optimize the generic zero value (#27102) 2023-09-14 19:05:20 +08:00
hardware enhance: enhance the accuracy of memory usage (#28554) 2023-11-23 15:12:23 +08:00
indexparamcheck fix: autoindex panic with flat index type (#29071) 2023-12-12 22:08:46 +08:00
indexparams Support prepare config for index (#27920) 2023-10-25 19:54:12 +08:00
interceptor enhance: refine access log to support format access log by yaml and print name info. (#28319) 2023-11-28 15:32:31 +08:00
lifetime Refine state check (#27541) 2023-10-11 21:01:35 +08:00
lock Make KeyLock generic (#27854) 2023-10-23 17:40:11 +08:00
logutil enhance: refine access log to support format access log by yaml and print name info. (#28319) 2023-11-28 15:32:31 +08:00
merr enhance: Revert import support csv format (#28760) 2023-11-28 14:32:27 +08:00
metautil Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
metric Add binary metric types SUBSTRUCTURE/SUPERSTRUCTURE back (#26766) 2023-08-31 20:07:00 +08:00
metricsinfo Format the code (#27275) 2023-09-21 09:45:27 +08:00
parameterutil.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
paramtable enhance: add 3 builtin roles (#28961) 2023-12-18 14:28:41 +08:00
ratelimitutil Support refund the tokens to limiter (#25598) 2023-07-14 15:58:32 +08:00
requestutil enhance: Support to trace restful request and request error (#28685) 2023-11-27 20:14:26 +08:00
resource Fix the unstable resource manager testcase (#28033) 2023-11-03 11:00:17 +08:00
retry enhance: refine the retry error (#28573) 2023-11-30 18:34:32 +08:00
symbolizer Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
testutils Add Promethues suite test utility (#26046) 2023-08-02 10:05:05 +08:00
tikv Format the code (#27275) 2023-09-21 09:45:27 +08:00
timerecord Use typeutil.ConcurrentMap instead of sync.Map (#25846) 2023-07-24 10:23:01 +08:00
tsoutil Format the code (#27275) 2023-09-21 09:45:27 +08:00
typeutil Construct plan directly when search with vector output (#27928) 2023-10-26 19:30:10 +08:00
uniquegenerator Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
constant.go enhance: add 3 builtin roles (#28961) 2023-12-18 14:28:41 +08:00
OWNERS Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00