kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pan, Julian (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KYLIN-2953) List readable project not correct if add limit and offset
Date Fri, 08 Dec 2017 02:51:00 GMT

     [ https://issues.apache.org/jira/browse/KYLIN-2953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pan, Julian updated KYLIN-2953:
-------------------------------
    Attachment: KYLIN_2953.patch

Here is the patch, please review.

> List readable project not correct if add limit and offset
> ---------------------------------------------------------
>
>                 Key: KYLIN-2953
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2953
>             Project: Kylin
>          Issue Type: Bug
>          Components: REST Service
>    Affects Versions: v2.1.0
>            Reporter: Pan, Julian
>            Assignee: Pan, Julian
>         Attachments: KYLIN_2953.patch
>
>
> There is one line getReadableProjects in ProjectController:
> List<ProjectInstance> projectInstances = projectService.listAllProjects(limit,
offset);
> That means just the part of projects, then validate the ACL.
> If user's project beyond the limit, then he will never get the projects if he put limit
and offset.
> It should be similar with cube list, get all the projects then validate the ACL, at last
get the sub list by limit and offset.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message