milvus/pkg/util/funcutil
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
..
aggregation_test.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
aggregation.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
func_test.go enhance: add 3 builtin roles (#28961) 2023-12-18 14:28:41 +08:00
func.go enhance: add 3 builtin roles (#28961) 2023-12-18 14:28:41 +08:00
map.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
math.go Upgrade golangci-lint (#24707) 2023-06-07 19:34:36 +08:00
parallel_test.go Fix getting incorrect CPU num (#28146) 2023-11-06 06:02:16 +08:00
parallel.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
placeholdergroup_test.go Implement SearchByPks path for Search (#25882) 2023-10-16 15:34:08 +08:00
placeholdergroup.go Implement SearchByPks path for Search (#25882) 2023-10-16 15:34:08 +08:00
policy_test.go enhance: add 3 builtin roles (#28961) 2023-12-18 14:28:41 +08:00
policy.go Fix rootcoord failure to start when reaching the limit of role num (#27361) 2023-09-27 11:03:26 +08:00
random_test.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
random.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
set_test.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
set.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
slice_test.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
slice.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00