Repository: kylin Updated Branches: refs/heads/1.3.x 974e416d8 -> 1a269c3bd
KYLIN-1731 allow non-admin user to edit 'Advenced Setting' step in CubeDesigner Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/2fc9dcbf Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/2fc9dcbf Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/2fc9dcbf Branch: refs/heads/1.3.x Commit: 2fc9dcbf40f0514d1c05c98039a449ef1fa9f9cc Parents: 974e416 Author: Jason <[email protected]> Authored: Tue May 24 17:10:49 2016 +0800 Committer: Jason <[email protected]> Committed: Tue May 24 17:10:49 2016 +0800 ---------------------------------------------------------------------- webapp/app/js/controllers/cubeSchema.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/2fc9dcbf/webapp/app/js/controllers/cubeSchema.js ---------------------------------------------------------------------- diff --git a/webapp/app/js/controllers/cubeSchema.js b/webapp/app/js/controllers/cubeSchema.js index daa4de5..b7db7c1 100755 --- a/webapp/app/js/controllers/cubeSchema.js +++ b/webapp/app/js/controllers/cubeSchema.js @@ -31,16 +31,10 @@ KylinApp.controller('CubeSchemaCtrl', function ($scope, QueryService, UserServic {title: 'Dimensions', src: 'partials/cubeDesigner/dimensions.html', isComplete: false}, {title: 'Measures', src: 'partials/cubeDesigner/measures.html', isComplete: false}, {title: 'Filter', src: 'partials/cubeDesigner/filter.html', isComplete: false}, - {title: 'Refresh Setting', src: 'partials/cubeDesigner/incremental.html', isComplete: false} + {title: 'Refresh Setting', src: 'partials/cubeDesigner/incremental.html', isComplete: false}, + {title: 'Advanced Setting', src: 'partials/cubeDesigner/advanced_settings.html', isComplete: false}, + {title: 'Overview', src: 'partials/cubeDesigner/overview.html', isComplete: false} ]; - if (UserService.hasRole("ROLE_ADMIN")) { - $scope.wizardSteps.push({ - title: 'Advanced Setting', - src: 'partials/cubeDesigner/advanced_settings.html', - isComplete: false - }); - } - $scope.wizardSteps.push({title: 'Overview', src: 'partials/cubeDesigner/overview.html', isComplete: false}); $scope.curStep = $scope.wizardSteps[0];
