add grant permission api (#985)
authorJermy Li <lizhangmei@baidu.com>
Mon, 11 May 2020 07:33:41 +0000 (15:33 +0800)
committerGitHub <noreply@github.com>
Mon, 11 May 2020 07:33:41 +0000 (15:33 +0800)
commit409bdbb83bcf2d394d4b5cb03bbeb9cfab74399f
treebb4a7b6020445f144728c03a2c3a9b4b3874b34b
parent351367e735e7203851bc09fb282b332a989cbc44
add grant permission api (#985)

* add grant permission api
* upgrade version to 0.11.1
* share usermanager

Change-Id: I58e6e5a8c950ad74fc1ccbcee8e8ca28d48a27e9
54 files changed:
hugegraph-api/pom.xml
hugegraph-api/src/main/java/com/baidu/hugegraph/api/filter/AuthenticationFilter.java
hugegraph-api/src/main/java/com/baidu/hugegraph/api/users/AccessAPI.java [new file with mode: 0644]
hugegraph-api/src/main/java/com/baidu/hugegraph/api/users/BelongAPI.java [new file with mode: 0644]
hugegraph-api/src/main/java/com/baidu/hugegraph/api/users/GroupAPI.java [new file with mode: 0644]
hugegraph-api/src/main/java/com/baidu/hugegraph/api/users/TargetAPI.java [new file with mode: 0644]
hugegraph-api/src/main/java/com/baidu/hugegraph/api/users/UserAPI.java [new file with mode: 0644]
hugegraph-api/src/main/java/com/baidu/hugegraph/auth/ConfigAuthenticator.java
hugegraph-api/src/main/java/com/baidu/hugegraph/auth/HugeAuthenticator.java
hugegraph-api/src/main/java/com/baidu/hugegraph/auth/HugeFactoryAuthProxy.java
hugegraph-api/src/main/java/com/baidu/hugegraph/auth/HugeGraphAuthProxy.java
hugegraph-api/src/main/java/com/baidu/hugegraph/auth/StandardAuthenticator.java
hugegraph-api/src/main/java/com/baidu/hugegraph/core/GraphManager.java
hugegraph-api/src/main/java/com/baidu/hugegraph/serializer/JsonSerializer.java
hugegraph-api/src/main/java/com/baidu/hugegraph/serializer/Serializer.java
hugegraph-api/src/main/java/com/baidu/hugegraph/version/ApiVersion.java
hugegraph-cassandra/pom.xml
hugegraph-core/pom.xml
hugegraph-core/src/main/java/com/baidu/hugegraph/HugeGraph.java
hugegraph-core/src/main/java/com/baidu/hugegraph/StandardHugeGraph.java
hugegraph-core/src/main/java/com/baidu/hugegraph/auth/EntityManager.java
hugegraph-core/src/main/java/com/baidu/hugegraph/auth/HugeAccess.java
hugegraph-core/src/main/java/com/baidu/hugegraph/auth/HugeGroup.java
hugegraph-core/src/main/java/com/baidu/hugegraph/auth/HugeResource.java
hugegraph-core/src/main/java/com/baidu/hugegraph/auth/HugeTarget.java
hugegraph-core/src/main/java/com/baidu/hugegraph/auth/HugeUser.java
hugegraph-core/src/main/java/com/baidu/hugegraph/auth/RelationshipManager.java
hugegraph-core/src/main/java/com/baidu/hugegraph/auth/ResourceObject.java
hugegraph-core/src/main/java/com/baidu/hugegraph/auth/RolePermission.java [new file with mode: 0644]
hugegraph-core/src/main/java/com/baidu/hugegraph/auth/SchemaDefine.java
hugegraph-core/src/main/java/com/baidu/hugegraph/auth/StandardUserManager.java [new file with mode: 0644]
hugegraph-core/src/main/java/com/baidu/hugegraph/auth/UserManager.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/CachedGraphTransaction.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/CachedSchemaTransaction.java
hugegraph-core/src/main/java/com/baidu/hugegraph/util/StringEncoding.java
hugegraph-core/src/main/java/com/baidu/hugegraph/version/CoreVersion.java
hugegraph-dist/pom.xml
hugegraph-dist/src/assembly/static/bin/init-store.sh
hugegraph-dist/src/assembly/static/bin/start-hugegraph.sh
hugegraph-dist/src/assembly/static/bin/util.sh
hugegraph-dist/src/main/java/com/baidu/hugegraph/cmd/InitStore.java
hugegraph-example/pom.xml
hugegraph-hbase/pom.xml
hugegraph-mysql/pom.xml
hugegraph-palo/pom.xml
hugegraph-postgresql/pom.xml
hugegraph-rocksdb/pom.xml
hugegraph-scylladb/pom.xml
hugegraph-test/pom.xml
hugegraph-test/src/main/java/com/baidu/hugegraph/core/UsersTest.java
hugegraph-test/src/main/java/com/baidu/hugegraph/unit/FakeObjects.java
hugegraph-test/src/main/java/com/baidu/hugegraph/unit/UnitTestSuite.java
hugegraph-test/src/main/java/com/baidu/hugegraph/unit/core/RolePermissionTest.java [new file with mode: 0644]
pom.xml