1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then 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.

Awaiting Feedback Series still display articles which are in a private category

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

  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.
     
  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.