[
https://issues.apache.org/jira/browse/KYLIN-4551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17147237#comment-17147237
]
ASF GitHub Bot commented on KYLIN-4551:
---------------------------------------
guangxuCheng commented on a change in pull request #1284:
URL: https://github.com/apache/kylin/pull/1284#discussion_r446613624
##########
File path:
server-base/src/main/java/org/apache/kylin/rest/service/CubeService.java
##########
@@ -573,6 +573,18 @@ public void updateCubeNotifyList(CubeInstance cube,
List<String> notifyList) thr
getCubeDescManager().updateCubeDesc(desc);
}
+ public CubeInstance updateCubeOwner(CubeInstance cube, String owner)
throws IOException {
+ aclEvaluate.checkProjectWritePermission(cube);
+ if (cube.getOwner().equals(owner)) {
Review comment:
got that. Will update PR later
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Provide interfaces to transfer cube/model/project ownership
> -----------------------------------------------------------
>
> Key: KYLIN-4551
> URL: https://issues.apache.org/jira/browse/KYLIN-4551
> Project: Kylin
> Issue Type: Improvement
> Components: Web
> Reporter: Zhong Yanghong
> Assignee: Guangxu Cheng
> Priority: Major
>
> In many companies, employee variation is very common. If cube owners leave
> office, it's necessary to transfer the cube ownership to others.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)