Repository: kylin Updated Branches: refs/heads/master b63ea4356 -> 714b22512
KYLIN-2778 add acl info for sample cube Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/4f16f1cd Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/4f16f1cd Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/4f16f1cd Branch: refs/heads/master Commit: 4f16f1cdc61f9bd01edad27151abff1bf4aa3596 Parents: b63ea43 Author: shaofengshi <shaofeng...@apache.org> Authored: Mon Aug 7 22:19:45 2017 +0800 Committer: shaofengshi <shaofeng...@apache.org> Committed: Mon Aug 7 22:34:00 2017 +0800 ---------------------------------------------------------------------- .../acl/0928468a-9fab-4185-9a14-6f2e7c74823f | 27 ++++++++++++++++++++ .../acl/2fbca32a-a33e-4b69-83dd-0bb8b1f8c53b | 27 ++++++++++++++++++++ .../acl/2fbca32a-a33e-4b69-83dd-0bb8b1f8c91b | 24 +++++++++++++++++ examples/sample_cube/template/user/ADMIN | 19 ++++++++++++++ 4 files changed, 97 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/4f16f1cd/examples/sample_cube/template/acl/0928468a-9fab-4185-9a14-6f2e7c74823f ---------------------------------------------------------------------- diff --git a/examples/sample_cube/template/acl/0928468a-9fab-4185-9a14-6f2e7c74823f b/examples/sample_cube/template/acl/0928468a-9fab-4185-9a14-6f2e7c74823f new file mode 100644 index 0000000..1c949f7 --- /dev/null +++ b/examples/sample_cube/template/acl/0928468a-9fab-4185-9a14-6f2e7c74823f @@ -0,0 +1,27 @@ +{ + "domainObjectInfo" : { + "id" : "0928468a-9fab-4185-9a14-6f2e7c74823f", + "type" : "org.apache.kylin.metadata.model.DataModelDesc" + }, + "parentDomainObjectInfo" : { + "id" : "2fbca32a-a33e-4b69-83dd-0bb8b1f8c91b", + "type" : "org.apache.kylin.metadata.project.ProjectInstance" + }, + "ownerInfo" : { + "sid" : "ADMIN", + "principal" : true + }, + "entriesInheriting" : true, + "allAceInfo" : { + "ADMIN" : { + "sidInfo" : { + "sid" : "ADMIN", + "principal" : true + }, + "permissionMask" : 16 + } + }, + "uuid" : null, + "last_modified" : 1502104533562, + "version" : "2.1.0" +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/kylin/blob/4f16f1cd/examples/sample_cube/template/acl/2fbca32a-a33e-4b69-83dd-0bb8b1f8c53b ---------------------------------------------------------------------- diff --git a/examples/sample_cube/template/acl/2fbca32a-a33e-4b69-83dd-0bb8b1f8c53b b/examples/sample_cube/template/acl/2fbca32a-a33e-4b69-83dd-0bb8b1f8c53b new file mode 100644 index 0000000..4d74fca --- /dev/null +++ b/examples/sample_cube/template/acl/2fbca32a-a33e-4b69-83dd-0bb8b1f8c53b @@ -0,0 +1,27 @@ +{ + "domainObjectInfo" : { + "id" : "2fbca32a-a33e-4b69-83dd-0bb8b1f8c53b", + "type" : "org.apache.kylin.cube.CubeInstance" + }, + "parentDomainObjectInfo" : { + "id" : "2fbca32a-a33e-4b69-83dd-0bb8b1f8c91b", + "type" : "org.apache.kylin.metadata.project.ProjectInstance" + }, + "ownerInfo" : { + "sid" : "ADMIN", + "principal" : true + }, + "entriesInheriting" : true, + "allAceInfo" : { + "ADMIN" : { + "sidInfo" : { + "sid" : "ADMIN", + "principal" : true + }, + "permissionMask" : 16 + } + }, + "uuid" : null, + "last_modified" : 1502104557664, + "version" : "2.1.0" +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/kylin/blob/4f16f1cd/examples/sample_cube/template/acl/2fbca32a-a33e-4b69-83dd-0bb8b1f8c91b ---------------------------------------------------------------------- diff --git a/examples/sample_cube/template/acl/2fbca32a-a33e-4b69-83dd-0bb8b1f8c91b b/examples/sample_cube/template/acl/2fbca32a-a33e-4b69-83dd-0bb8b1f8c91b new file mode 100644 index 0000000..66c5630 --- /dev/null +++ b/examples/sample_cube/template/acl/2fbca32a-a33e-4b69-83dd-0bb8b1f8c91b @@ -0,0 +1,24 @@ +{ + "domainObjectInfo" : { + "id" : "2fbca32a-a33e-4b69-83dd-0bb8b1f8c91b", + "type" : "org.apache.kylin.metadata.project.ProjectInstance" + }, + "parentDomainObjectInfo" : null, + "ownerInfo" : { + "sid" : "ADMIN", + "principal" : true + }, + "entriesInheriting" : true, + "allAceInfo" : { + "ADMIN" : { + "sidInfo" : { + "sid" : "ADMIN", + "principal" : true + }, + "permissionMask" : 16 + } + }, + "uuid" : null, + "last_modified" : 0, + "version" : "2.1.0" +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/kylin/blob/4f16f1cd/examples/sample_cube/template/user/ADMIN ---------------------------------------------------------------------- diff --git a/examples/sample_cube/template/user/ADMIN b/examples/sample_cube/template/user/ADMIN new file mode 100644 index 0000000..f27a36f --- /dev/null +++ b/examples/sample_cube/template/user/ADMIN @@ -0,0 +1,19 @@ +{ + "username" : "ADMIN", + "password" : "skippped-ldap", + "authorities" : [ { + "authority" : "ROLE_ADMIN" + }, { + "authority" : "ROLE_ANALYST" + }, { + "authority" : "ROLE_MODELER" + } ], + "disabled" : false, + "defaultPassword" : false, + "locked" : false, + "lockedTime" : 0, + "wrongTime" : 0, + "uuid" : null, + "last_modified" : 0, + "version" : "2.1.0" +} \ No newline at end of file