Skip to content

Commit

Permalink
Update privileges const
Browse files Browse the repository at this point in the history
Signed-off-by: ryjiang <jiangruiyi@gmail.com>
  • Loading branch information
shanghaikid committed Jan 25, 2024
1 parent d61b23b commit dcfa3a2
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions milvus/const/milvus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,17 +312,24 @@ export enum CollectionPrivileges {
DropIndex = 'DropIndex',
IndexDetail = 'IndexDetail',
Load = 'Load',
GetLoadingProgress = 'GetLoadingProgress',
GetLoadState = 'GetLoadState',
Release = 'Release',
Insert = 'Insert',
Upsert = 'Upsert',
Delete = 'Delete',
Search = 'Search',
Flush = 'Flush',
FlushAll = 'FlushAll',
GetFlushState = 'GetFlushState',
Query = 'Query',
GetStatistics = 'GetStatistics',
Compaction = 'Compaction',
Import = 'Import',
LoadBalance = 'LoadBalance',
CreatePartition = 'CreatePartition',
DropPartition = 'DropPartition',
ShowPartitions = 'ShowPartitions',
HasPartition = 'HasPartition',
}

// RBAC: global privileges
Expand All @@ -332,6 +339,8 @@ export enum GlobalPrivileges {
DropCollection = 'DropCollection',
DescribeCollection = 'DescribeCollection',
ShowCollections = 'ShowCollections',
RenameCollection = 'RenameCollection',
FlushAll = 'FlushAll',
CreateOwnership = 'CreateOwnership',
DropOwnership = 'DropOwnership',
SelectOwnership = 'SelectOwnership',
Expand All @@ -342,10 +351,13 @@ export enum GlobalPrivileges {
ListResourceGroups = 'ListResourceGroups',
TransferNode = 'TransferNode',
TransferReplica = 'TransferReplica',
RenameCollection = 'RenameCollection',
CreateDatabase = 'CreateDatabase',
ListDatabases = 'ListDatabases',
DropDatabase = 'DropDatabase',
CreateAlias = 'CreateAlias',
DropAlias = 'DropAlias',
DescribeAlias = 'DescribeAlias',
ListAliases = 'ListAliases',
}

// RBAC: user privileges
Expand Down

0 comments on commit dcfa3a2

Please sign in to comment.