The discussion revolves around updating and unlocking all groups after switching from a locked trust level system to the default trust level system. matenauta seeks to unlock all trust levels and align users with trust level settings. nathank suggests changing group trust levels in the UI or using the Rails console and provides a guide to reset trust levels, but warns that it will make everyone start over from the beginning.
matenauta asks if it’s possible to reset and respect the trust level system, but nathank’s suggested solution seems to be the expected behavior. pfaffman offers a solution to unlock everyone’s trust level using the Rails console by updating the group model. Additionally, JammyDodger shares a topic that may be helpful in addressing the issue.
We used locked groups on TL3 and now we are moving again to default trust_level system (because we left Discord and need more engagement on our forum).
How to unlock all TL and make all users aligned with TL settings?
How to update groups with the TL? Because we have people on unlocked TL1 in group with TL3 access.
I tried some queries but seems to be oudated (more than 4 years ago).
To see what the group model looks like. Or Group.find_by_slug("some_slug") to look at a specific one. You can look at one that’s changed and one that’s not.
You can then do Group.all.update_all(field: value) to set them all.