MyBB Community Forums
[F] Additional Group Deletion [C-Chris] - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: Archived Bug Reports (https://community.mybb.com/forum-74.html)
+------ Forum: MyBB 1.4.2 (https://community.mybb.com/forum-100.html)
+------ Thread: [F] Additional Group Deletion [C-Chris] (/thread-40272.html)



[F] Additional Group Deletion [C-Chris] - labrocca - 2008-11-09

It appears if you delete a group it doesn't get removed from a users additionalgroups column in database.
Oh and it appears that the group is still in the promotion system too.
Additional side-effect problem...

Since it's not deleted from additionalgroups I noticed that the usergroup cache isn't rebuilt..so any permissions still would exists in the forums.


RE: Additional Group Deletion - Ryan Gordon - 2008-11-10

I don't think we can properly remove it easily from the promotions - I've added the usergroups/forum perms cach rebuilding and removing it from additional groups, but that's all.


[F] Additional Group Deletion - Ryan Gordon - 2008-11-10

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.

With regards,
MyBB Group


RE: [F] Additional Group Deletion - labrocca - 2008-11-10

Will the promotion still occur then if it's not deleted? Is there a check to make sure the usergroup actually exists before it promotes?


RE: [F] Additional Group Deletion - Ryan Gordon - 2008-11-10

Well now that it is removed from additionalgroups, usergroup, and displaygroup then any SQL query executed against the user database won't return a result set for that deleted usergroup