You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "kangkaisen (JIRA)" <ji...@apache.org> on 2017/04/24 09:44:04 UTC

[jira] [Created] (KYLIN-2563) Fix bug in checkCubeAuthorization

kangkaisen created KYLIN-2563:
---------------------------------

             Summary: Fix bug in checkCubeAuthorization
                 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


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)