[
https://issues.apache.org/jira/browse/KYLIN-2563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15984559#comment-15984559
]
kangkaisen commented on KYLIN-2563:
-----------------------------------
This is the commit
https://github.com/apache/kylin/commit/85b4b2c7c0dc7d2052cd92cc50ac3b6b94f88668
> 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
> Fix For: v2.1.0
>
> 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)