[
https://issues.apache.org/jira/browse/KYLIN-2563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15984197#comment-15984197
]
liyang commented on KYLIN-2563:
-------------------------------
+1
The patch looks good to me.
> Fix bug in query authorization
> ------------------------------
>
> Key: KYLIN-2563
> URL: https://issues.apache.org/jira/browse/KYLIN-2563
> Project: Kylin
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: v1.6.0
> Reporter: kangkaisen
> Assignee: kangkaisen
> Attachments: KYLIN-2563.patch
>
>
> I found that the preauthorize-annotation didn't work in
> QueryService.checkCubeAuthorization.
> It turned out that we can not have annotations on methods that are accessed
> from within the same class, whether private or public. The annotations only
> work on public methods accessed by outsiders.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)