MyBB Community Forums

Full Version: Signature Permissions Bug
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Example bug.

Member in 2 groups:
1. Registered
2. Custom (type 4)

Registered is set with canusesig=1 and canusesigxposts=250
Custom group is set canusesig=0 and canusesigxposts=0


Member is added to the custom group.  They are able to add a signature even if their post count is under 250.  This is because $groupzerogreater (class_core.php) has the canusesigxposts but not the canusesig permissions.

Logic grabs the canusesig as 1 and the canusesigxposts as 0.  It should grab the canusesigxposts permission where it get the canusesig. Or at least the lowest number if greater than 0.  

Best of luck fixing.
Confirmed on a fresh MyBB 1.8.13 installation.
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/2913

Thanks for contributing to MyBB!

Regards,
The MyBB Group