• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Feature
    • Add wiki page to protected category results in a no permission error on save (or preview)

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Add wiki page to protected category results in a no permission error on save (or preview)

    • Issue Tools
      • View Changes
    1. issueid=5221 September 13, 2017 11:16 AM
      ACL ACL is offline
      Regular Member
      Add wiki page to protected category results in a no permission error on save (or preview)

      When editing a wiki page, protected wiki categories show up in the list of categories that can be added. Attempting to preview or save the wiki page newly linked with a protected category will cause a no permission error and any changes to the page contents are therefore not processed (but not lost as long as the browser back button is used).

      To solve this bug one of the following could be done:
      • protected categories shouldn't show up in the list of suggested categories to add the page to during editing; or
      • any category protection should only apply to editing the category directly (e.g. its description) and not restrict adding/removing pages. This will also require the X (cross) remove function be enabled during page editing.
    Issue Details
    Issue Number 5221
    Issue Type Feature
    Project VaultWiki 4.x Series
    Category Categories
    Status Implemented
    Priority 7 - Minor Features / Enhancements
    Suggested Version 4.0.18
    Implemented Version (none)
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Votes for this feature 0
    Votes against this feature 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. October 15, 2017 12:46 PM
      pegasus pegasus is offline
      VaultWiki Team
      Since the same permissions are checked on both sides (getting the list of categories vs accepting the submitted categories), the only ways I can see this happening are:
      - The category was not originally protected. The user selected the category in the editor. The category was newly protected. The user submitted their category selection; OR
      - The category had admin-level protection. The admin user selected the category in the editor. The user's admin session timed out (but their non-admin session was still active). The user submitted their category selection.
      - The user was an admin who had Test Permissions active for a user other than himself. In 4.0.18, the effect of this on wiki functions would be undefined and give unexpected results.

      In the first two cases, the behavior you described would be expected.

      However, I agree that protection against edits probably shouldn't affect the ability to use the category as a container. Thus, I have changed this to a feature request. In the next release, the behavior of protection on node-types (books, categories, feeds, etc) has changed:

      - An additional checkbox appears on the Protect tab asking whether protection should also apply to adding/removing pages inside the container. This checkbox is semi-independent of the protection state. If there is no protection set on the category, but the box is checked, then only users with access to uncheck the box have permission to add/remove pages. If there is protection set on the category, and the box is checked, then only users who satisfy the category's protection state can add/remove pages. Whether there is protection set on the category or not, if the box is not checked, then users can add/remove pages as long as they have generic permission to do so.

      If you continue to have an issue with this in the next release, please open a private ticket via the Members area here, as I have not been able to reproduce the problem on my test site.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 11:46 AM.
    This site uses cookies to help personalize content, to 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.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.