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.