• 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 3.x Series
    • Bug
    • Only Super-Admins Can Use VaultWiki Admin Panel

    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: Only Super-Admins Can Use VaultWiki Admin Panel

    • Issue Tools
      • View Comments
    1. issueid=2597 February 9, 2012 1:46 AM
      pegasus pegasus is offline
      VaultWiki Team
      Only Super-Admins Can Use VaultWiki Admin Panel

      Attempted to give some test users access to the Admin Panel today, only to learn that they received a "Permissions Error" screen even if they were logged in. There seems to be a difference between the following 2 lines in vBulletin, although one would expect both to return true for all admin users:
      Code:
      // Incorrect: Only returns true for super-administrators
      $permission_check_field = ''; // OR NULL if not set;
      can_administer($permission_check_field);
      Code:
      // Correct: Works for any user in the Administrator group
      can_administer();
      Hopefully this is helpful for other mod coders who might be ripping their hair out.

      Fixed in staging area.
    Issue Details
    Issue Number 2597
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Admin Panel
    Status Fixed
    Priority 1 - Security / Login / Data Loss
    Affected Version 4.0.0 Alpha 1
    Fixed Version 4.0.0 Alpha 1
    Milestone VaultWiki 4.0.0 Alpha 1
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. February 9, 2012 1:46 AM
      Issue Changed by pegasus
      • Applicable version changed from Unknown to 4.0.0 Alpha 1
      • Priority changed from Unknown to 1 - Security / Login / Data Loss
      • Category changed from Unknown to Admin Panel
    + 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 10:59 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 © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.