MyBB Community Forums

Full Version: [F] Forum Permission problem - "Can Search Forum?"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a custom usergroup which is missing "Can Search Forum?" permission in the "forum permission" view for all forums after converting to MyBB 1.4.
I tried to set the permission, but it doesn't work. After clicking "Save forum permissions" the checkbox reverts to the previous state.

In detail:
Initial state
gid=8, fid=28, cansearch=no in table _forumpermissions
==> checkbox is turned off and after checking it and saving it is turned off again

After chosing "Use user group permissions or inherit..." temporarily and going back to "custom permission" afterwards
gid=8, fid=28, cansearch=1 in table _forumpermissions
==> checkbox is turned on and after unchecking it and saving it is still turned on

It is not an caching issue and it is fully reproducable here.
I'm not sure exactly what the issue is. Is "Can Search Forum?" missing from the permissions list or not? Because you indicate that the checkbox is there which would indicate that it is not missing.


Also, what do you mean by "initial state"? Initial state in MyBB 1.2, or 1.4?
I don't think he's saying that it's missing. I just think that when he sets the state, the SQL doesn't update the database right, and, as a result, the permissions are messed up.
(2008-07-05, 04:17 PM)Talion Wrote: [ -> ]I have a custom usergroup which is missing "Can Search Forum?" permission in the "forum permission" view for all forums after converting to MyBB 1.4.
Sorry for beeing unclear.
The checkbox is there, so it is not missing. But in MyBB 1.2 the group had permission to search, and after converting to 1.4 the permission was gone (checkbox is unchecked).
By inital state I mean the situation directly after conversion from 1.2 to 1.4
(2008-07-06, 12:55 AM)LegosJedi Wrote: [ -> ]I don't think he's saying that it's missing. I just think that when he sets the state, the SQL doesn't update the database right, and, as a result, the permissions are messed up.
Yes, right.
I just tried what you did and I can't reproduce it
I deleted the MyBB1.4 database, re-imported the backup from MyBB 1.2 and tried converting again. The problem ist still there, reproducable as before. I can give you admin-access and/or the mysql-backup (compressed 2 MB) if that would help.
I can confirm this issue.

My Configuration:

Every Usergroups (default and 9 custom groups) had custom permissions for each forum (at this moment 40 Smile ) in MyBB 1.2 . After converting to 1.4, all usergroups on each forum have no permission for "Can seach forum" .
Enabling the Checkbox and Save seems not to work, because if you recheck the permissions the checkbox is cleared.

OK, so i decided to switch to the group default, and then click on "set permission", choose "Use costum permissions" and enabled "Can search forum" ... and at this time, the checkbox remembers his status...

Here is a video of this problem... 6,5MB 1:40min
http://4apc.de/canview.avi
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.