User Access Manager
BUG(?) Posts do not inherit rights that have been set to the grand-parent cat (3 posts)

  1. JoelLinn
    Posted 3 years ago #

    Hey folks,
    We are currently setting up a wordpress locally. Using UAM I think I encountered a bug.
    We use categories (up to 5 levels) to order our content (posts) and want the posts to inherit the access rights from the category/ies it is assigned to. This works fine for categories that specify the rules, but if the parent is a sub category that inherited the access rules itself, they are not inherited by the post. And since no groups are set on the post then, it is accessible by everyone.

    Category Access
    Projects Managers
    -Klondike Alaska-Team, Managers(inherited)
    --Alternative Game Rules Alaska-Team (inherited), Managers(inherited)
    -Freecell Insane-Team

    A post in the Klondike Category will be accessable only by the alaska team, but not by the managers (if they are no admins of course).
    And even worse, post in "Alternative Game Rules" are seen by everybody because no inheritance works at all.

    Any Ideas on this?


  2. Marcus Fridholm
    Posted 3 years ago #

    Actually this is true for all types of inheritance when it comes to posts and categories.

    For pages the inheritance works, for posts it doesn't.

  3. Marcus Fridholm
    Posted 3 years ago #

    For now I use a workaround:

    When I create the sub-category I do not assign a parent, instead assigning the groups that the sub-category would have if inheritance worked.

    Then I save, then I edit and assign parent.

    The result are rows in the DB matching the group-rights of the parent, rows that aren't created if you assign parent and let the rights inherit.

    This works for now, but is rather "sub-stellar..."

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User Access Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic