[ https://issues.apache.org/jira/browse/KYLIN-2563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Billy Liu updated KYLIN-2563: ----------------------------- Summary: Fix preauthorize-annotation bugs in query authorization (was: Fix bug in query authorization) > Fix preauthorize-annotation bugs 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.4.14#64029)