Topic: Corrupt Permissions - Table Cross Associations Missing!!
Hi Folks,
I am out of my league with this one... got a call today because people are having access to things they shouldn't in one of the BB's...
I finally discovered that in the forum_perms table there are expected rows missing for many groups...
...where a group_id #X only has associations from forum_id 3 thru 126 instead of up to #138 !!! I do not know what other tables may also have similar or related corruption.
When I created a new Group in PunBB it seemed to re-include the full range (fixing the problem for that group), so for instance,
- I have a group named Validating.
- Validating was screwed up in the forum_perms table (per the above).
- So in the BB I Created a new Group named TestGroup with all the same settings as the Validating Group,
- then I deleted the Validating Group, moving all the Validating Members to TestGroup
- After renaming TestGroup to Validating I checked...
- Checking Forums and such via Administration the Permissions were correct(ed)
- Checking the forum_perms Table in mySQL reveals associations for that group_id with All forum_id's are accounted for.
So now I am faced with ...is there a way in mySQL to have the Table Repair/Correct itself?? Of course, I ran repairs and such, but that did not 'do it'.
One thing I am really concerned about, say the only way to fix this is to conduct the method above for every Group in the BB.... well what do I do about the built in Groups such as Admin, Guest, Moderator, etc ??? Those are corrupted as well !!!!
What a freaking mess this is... I am just sick over it... how in the heckl could this have happened???
Your help, as always, is much apreciated.
TwoHawks
Love is the Function
No Form is the Tool