Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPB4: merging forum permissions from IPB4 permantently breaks permissions on MyBB forums #298

Open
MildlyInterested opened this issue Jan 6, 2023 · 1 comment

Comments

@MildlyInterested
Copy link

  1. Merge IPB4 forum/database
  2. Import Forum permissions during merge
  3. All forums are visible to any group regardless of settings.

Individual group permissions still work so if the "Guest" group has no permissions to view the board at all that still works. If permissions to view the board are granted they can see everything again.

I propose to either completely disable the forum permissions import in the ipb4 script or to put a big warning in front of it.

@MildlyInterested MildlyInterested changed the title merging forum permissions from IPB4 permantently breaks permissions on MyBB forums IPB4: merging forum permissions from IPB4 permantently breaks permissions on MyBB forums Jan 6, 2023
@MildlyInterested
Copy link
Author

Solved the issue: If the forumpermissions table is bigger than 16MB (can be seen in Admin CP --> Tools --> Cache Manager) the cache breaks because the cache column in the mybb_datacache table is set to mediumtext which only accepts strings of up to 16MB. Solution is to change it to longtext which accepts strings up to 4GB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant