Calendar Bug?

  • Affected Version
    WoltLab Suite 3.1

    IDK if this is a calendar, bug or meant to be this way. If the latter, is their a way I can fix it?


    If you have a Calendar category, that requires user group 1 to view and "everyone" can not see. That works fine.


    If you have a child category, that requires user group 2 to view, that works fine, it requires group 2 to view. However, it is still viewable if you are not in group 1, even though the parent category requires 1 to see.


    I am assuming this is a bug, as I dont see a reason for a parent category, if rights are not followed from the top. If not, how can I make it require the parents view access for the child?


    Edit: So the parent rights do work correctly if the child has no view permissions, however if the child too has permissions needed they overwrite the parents instead of adding too it.

    Edited 2 times, last by cyberlocc ().

    • Official Post

    Hello,


    The category is behaving as it should, having at least one permission that grants access is sufficient. This isn't different to the forums, because there is no such thing as "You must be part of all those groups", a single whitelisted group is enough.


    • Forum A (Everyone: Denied, Group 1: Has access)
      • Subforum B (Everyone Denied, Group 2: Has access)

    In this case, a user who's part of group 2 has access to Subforum B, but not Forum A (!).

  • Hello,


    The category is behaving as it should, having at least one permission that grants access is sufficient. This isn't different to the forums, because there is no such thing as "You must be part of all those groups", a single whitelisted group is enough.


    • Forum A (Everyone: Denied, Group 1: Has access)
      • Subforum B (Everyone Denied, Group 2: Has access)

    In this case, a user who's part of group 2 has access to Subforum B, but not Forum A (!).


    I did say, it may not be a bug lol. If its not, its a subpar situation for me personally, so I need to look for a way to change that.


    As to the forums, thats not true, maybe in a access state, however not in a view state. I am not trying to stop access per se, just hide from view.


    IE an example that applies to me, as a gaming community, we play World of Warcraft, so we have


    • World of Warcraft forums
      • PvP

    Now, having the group, World of Warcraft is in control of World of Warcraft forums, if you do not have it, you do not see World of Warcraft forums nor any sub forums. If you have World of Warcraft, however you do not have PvP that applies to PvP forums, then you see World of Warcraft, and you do not see PvP. If you have PvP but not World of Warcraft, you still do not see the PvP forum listed. Which is exactly how it should be.


    This is different from calendar, as hiding the parent, does not hide the children, like it 100% does in forums. Now, it does not require World of Warcraft to Access the PvP forums, in that they can still use a link to see that forum, and thats fine. They have to use a link to get their however as it is not listed in the forums list, without the parent view access. I'm not trying to restrict access from multi layered groups, as I realize sadly, this doesn't have that capability, I just want to hide from view, that which doesn't apply.


    This coupled with the fact, that a parent groups color, has no effect on the child group, or any way of differentiating that it belongs to the parent other than the side bar, is a letdown. It makes me wonder, why sub categories even exist at all, they serve no purpose other than hiding a few listings on the sidebar. For a basic forum, with a handful events per month, that may not be an issue, with a community like mine with 5-10 events per day spanning different games, and different content types, this is extremely subpar, as it going to do nothing less than cause mass confusion lol.


    This is intensified by the fact, that if we speak calendar same as above. When you are in PvP, but not World of Warcraft, you still see pvp events, however you do not see World of Warcraft or its PvP category in the sidebar. So now they see events, but not the color code for them, while the categories are hidden, leading to more confusion.


    Its an oversight, tbh, the calendar is great, when you only have a couple of events per month, However once you get customers with 100s, it falls quite short imo.

    Edited 4 times, last by cyberlocc ().

    • Official Post

    Now, having the group, World of Warcraft is in control of World of Warcraft forums, if you do not have it, you do not see World of Warcraft forums nor any sub forums. If you have World of Warcraft, however you do not have PvP that applies to PvP forums, then you see World of Warcraft, and you do not see PvP. If you have PvP but not World of Warcraft, you still do not see the PvP forum listed. Which is exactly how it should be.

    Actually, this is not correct. These kind of permissions are quite awkward, because the forum tree is not rendered, because the structure cannot have holes. However, if the user has the permission to access the PvP forum, that user can access the forum, they will only not see it on the forums list.


    This is an awkward edge-case that can also be achieved by hiding forums from the forum list, which will make them accessible without showing them. One example is the ticket support in our forums, it uses a subforum that is hidden from all views, but can still be accessed through the "My Account" menu.


    The issue is the forum list itself, which hides the entire subtree if the parent is inaccessible, even if the child forums are available to the user.



    tl;dr: Everything works as it should, even if it, for historic reasons, isn't exactly intuitive.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!