1. REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Fixed Series still display articles which are in a private category

Discussion in 'AMS Resolved Bug Reports' started by sbj, May 2, 2020.

Tags:
  1. sbj

    sbj Member AMS Premium SC Premium

    So,

    I created some articles, put them into series. Later I decided to make the category they are in private. And people on the series page still see the articles listed.

    If you click on the articles, it then generates an error saying that we have no permission but the articles shouldn't be displayed in first place.

    Thanks.
     
  2. Bob

    Bob Developer Staff Member

    Definitely a "View" permission bug of some kind. They should not be able to be viewed if the viewing user can't view the category that the articles are in. My guess is that the canView() permission for the Series Part Entity is simply not also checking the canView permission for the Article itself (which would be an easy fix).
     
    sbj likes this.
  3. Bob

    Bob Developer Staff Member

    @sbj can you confirm if you are still able to reproduce this? If so, I might need to make some major adjustments in AMS 2.2.x
     
  4. sbj

    sbj Member AMS Premium SC Premium

    Yes, I can confirm it. Tested it yesterday on live and today on localhost with the latest 2.1.14 version.
     
  5. Bob

    Bob Developer Staff Member

    This has been resolved in AMS 2.2.1
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.