This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a change to branch AuthEnhance
in repository https://gitbox.apache.org/repos/asf/iotdb.git
from 4988039cd6e add it
new 6fc413b328e finish db management
new 7b367888a19 fix conflicts
new 38ea58d34d6 Merge branch 'AuthEnhance' of
https://github.com/apache/iotdb into AuthEnhance
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../request/read/database/CountDatabasePlan.java | 13 ++++-
.../request/read/database/GetDatabasePlan.java | 10 +++-
.../iotdb/confignode/manager/ConfigManager.java | 8 ++-
.../iotdb/confignode/persistence/AuthorInfo.java | 25 ++++-----
.../persistence/schema/ClusterSchemaInfo.java | 20 +++++--
.../confignode/persistence/schema/ConfigMTree.java | 7 ++-
.../thrift/ConfigNodeRPCServiceProcessor.java | 8 ++-
.../persistence/schema/ClusterSchemaInfoTest.java | 1 +
.../persistence/schema/ConfigMTreeTest.java | 22 +++++---
.../iotdb/db/auth/ClusterAuthorityFetcher.java | 15 ++----
.../queryengine/plan/analyze/AnalyzeVisitor.java | 11 ----
.../analyze/cache/partition/PartitionCache.java | 6 ++-
.../execution/config/TableConfigTaskVisitor.java | 39 ++++++++------
.../config/executor/ClusterConfigTaskExecutor.java | 6 ++-
.../relational/security/AccessControlImpl.java | 41 +++++++-------
.../relational/security/ITableAuthCheckerImpl.java | 57 ++++++++++++++++++++
.../security/TreeAccessCheckVisitor.java | 62 +++++++++++++++++++---
.../plan/statement/metadata/CountStatement.java | 9 ++++
.../statement/metadata/ShowDatabaseStatement.java | 9 ++++
.../mtree/traverser/counter/DatabaseCounter.java | 16 +++++-
.../apache/iotdb/commons/auth/utils/AuthUtils.java | 49 +++++++++++++++++
.../apache/iotdb/commons/schema/table/Audit.java} | 27 +++++-----
.../src/main/thrift/confignode.thrift | 1 +
23 files changed, 337 insertions(+), 125 deletions(-)
create mode 100644
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/auth/utils/AuthUtils.java
copy
iotdb-core/{confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/read/template/GetTemplateSetInfoPlan.java
=>
node-commons/src/main/java/org/apache/iotdb/commons/schema/table/Audit.java}
(53%)