milvus/internal/rootcoord
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
..
mocks Organize all mockery generation commands in Makefile (#26826) 2023-09-04 21:19:48 +08:00
alter_alias_task_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
alter_alias_task.go [Cherry-Pick] Support Database (#24769) 2023-06-25 17:20:43 +08:00
alter_collection_task_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
alter_collection_task.go [Cherry-Pick] Support Database (#24769) 2023-06-25 17:20:43 +08:00
broker_test.go enhance: Use mockery to replace manual mock code (#29074) 2023-12-13 10:46:44 +08:00
broker.go Block creating new error from status reason (#27426) 2023-10-07 11:29:32 +08:00
constrant.go Add license to rootcoord module (#22301) 2023-02-22 11:37:45 +08:00
create_alias_task_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
create_alias_task.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
create_collection_task_test.go Support to replicate the mq message (#27240) 2023-10-20 14:26:09 +08:00
create_collection_task.go enhance: refine error messages (#28424) 2023-11-21 17:02:24 +08:00
create_db_task_test.go [Cherry-Pick] Support Database (#24769) 2023-06-25 17:20:43 +08:00
create_db_task.go enhance: refine error messages (#28424) 2023-11-21 17:02:24 +08:00
create_partition_task_test.go Add more metrics (#25081) 2023-06-26 17:52:44 +08:00
create_partition_task.go [Cherry-Pick] Support Database (#24769) 2023-06-25 17:20:43 +08:00
ddl_ts_lock_manager_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
ddl_ts_lock_manager.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
describe_collection_task_test.go Add more metrics (#25081) 2023-06-26 17:52:44 +08:00
describe_collection_task.go [Cherry-Pick] Support Database (#24769) 2023-06-25 17:20:43 +08:00
dml_channels_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
dml_channels.go Remove topic empty restriction when preCreated topic (#27351) 2023-10-10 18:53:32 +08:00
drop_alias_task_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
drop_alias_task.go [Cherry-Pick] Support Database (#24769) 2023-06-25 17:20:43 +08:00
drop_collection_task_test.go Refine errors to remove changes breaking design (#26521) 2023-09-04 09:57:09 +08:00
drop_collection_task.go Support to replicate the mq message (#27240) 2023-10-20 14:26:09 +08:00
drop_db_task_test.go [Cherry-Pick] Support Database (#24769) 2023-06-25 17:20:43 +08:00
drop_db_task.go [Cherry-Pick] Support Database (#24769) 2023-06-25 17:20:43 +08:00
drop_partition_task_test.go Decouple basetable and componentparam (#26725) 2023-09-05 10:31:48 +08:00
drop_partition_task.go Support to replicate the mq message (#27240) 2023-10-20 14:26:09 +08:00
expire_cache_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
expire_cache.go enhance:Remove msgbase unnecessary assignments (#28511) 2023-11-24 15:02:39 +08:00
field_id.go fix the spelling of field (#25008) 2023-06-21 14:00:42 +08:00
garbage_collector_test.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
garbage_collector.go Support to replicate the mq message (#27240) 2023-10-20 14:26:09 +08:00
has_collection_task_test.go Add more metrics (#25081) 2023-06-26 17:52:44 +08:00
has_collection_task.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
has_partition_task_test.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
has_partition_task.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
import_helper.go [Cherry-Pick] Support Database (#24769) 2023-06-25 17:20:43 +08:00
import_manager_test.go enhance: Support implicit type conversion for parquet (#29046) 2023-12-12 16:14:44 +08:00
import_manager.go enhance: Support implicit type conversion for parquet (#29046) 2023-12-12 16:14:44 +08:00
list_db_task_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
list_db_task.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
meta_table_test.go Fix rootcoord failure to start when reaching the limit of role num (#27361) 2023-09-27 11:03:26 +08:00
meta_table.go fix: clean snapshots meta (#28502) 2023-12-05 16:04:36 +08:00
metrics_info.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
mock_test.go fix: data race in ProxyClientManager (#29206) 2023-12-14 18:22:39 +08:00
name_db.go [Cherry-Pick] Support Database (#24769) 2023-06-25 17:20:43 +08:00
OWNERS [skip ci]Update OWNERS files (#11898) 2021-11-16 15:41:11 +08:00
proxy_client_manager_test.go fix: data race in ProxyClientManager (#29206) 2023-12-14 18:22:39 +08:00
proxy_client_manager.go fix: data race in ProxyClientManager (#29206) 2023-12-14 18:22:39 +08:00
proxy_manager_test.go Optimize the codec code of session (#27360) 2023-10-01 10:33:30 +08:00
proxy_manager.go enhance: Make etcd kv request timeout configurable (#28661) 2023-11-23 19:34:23 +08:00
quota_center_test.go fix: data race in ProxyClientManager (#29206) 2023-12-14 18:22:39 +08:00
quota_center.go Fix confusing quota log (#28262) 2023-11-13 15:38:18 +08:00
redo_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
redo.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
rename_collection_task_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
rename_collection_task.go Support rename db name of the collection (#26543) 2023-08-29 14:54:26 +08:00
root_coord_test.go enhance: add 3 builtin roles (#28961) 2023-12-18 14:28:41 +08:00
root_coord.go enhance: add 3 builtin roles (#28961) 2023-12-18 14:28:41 +08:00
scheduler_test.go Decouple basetable and componentparam (#26725) 2023-09-05 10:31:48 +08:00
scheduler.go Add more metrics (#25081) 2023-06-26 17:52:44 +08:00
show_collection_task_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
show_collection_task.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
show_partition_task_test.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
show_partition_task.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
step_executor_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
step_executor.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
step_test.go Support to replicate the mq message (#27240) 2023-10-20 14:26:09 +08:00
step.go Support to replicate the mq message (#27240) 2023-10-20 14:26:09 +08:00
task.go Add more metrics (#25081) 2023-06-26 17:52:44 +08:00
timestamp_bench_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
timeticksync_test.go Optimize the codec code of session (#27360) 2023-10-01 10:33:30 +08:00
timeticksync.go enhance:Remove msgbase unnecessary assignments (#28511) 2023-11-24 15:02:39 +08:00
undo_test.go Add license to rootcoord module (#22301) 2023-02-22 11:37:45 +08:00
undo.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
util_test.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
util.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00