Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gary Hammett 3 posts 73 karma points
    Jan 04, 2018 @ 16:31
    Gary Hammett
    0

    CMS List View Paging not respecting Paging Size with User Permissions applied

    Hey,

    We have created a document type that enables us to contain multiple children showing as a list view.

    Umbraco implements paging to handle the children nicely and as far as I know we can manage the page size using the "Page Size" property when you configure the children list view properties. (let's say it is set to 10)

    Along with this, we have also restricted the children being shown to the logged in user using permissions. So that some users can manage specific records.

    Let's say we have 10,000 children in total and as an admin we view the container page in the CMS. We can see all 10,000 paged in sets of 10.

    As a restricted logged in user who is only allowed to see 15 children (varied selection, not top 15), we expect to see 10 on the first page and 5 on the second page.

    What actually appears to happen is this:

    1. Umbraco gets the total and splits the total into pages.
    2. Then for each page, it will hide any not visible to the logged in user.
    3. Renders either blank or partially filled pages such as 2 on the first page, 4 on the next, 0 results on the third ect.

    Thanks, Gary

  • Gary Hammett 3 posts 73 karma points
    Apr 25, 2018 @ 07:10
    Gary Hammett
    0

    No ideas?

Please Sign in or register to post replies

Write your reply to:

Draft