This update vastly improves the speed for changing permissions when a large number of user-groups and nodes exist. Uninstalling is now disruptive, as all permissions need to be rebuilt.
- Require redis cache v2.15.4+
- Reduce memory usage when multiple user's permissions are loaded
- Fix possible race condition when loading permissions from redis
- Dynamically handle any 3rd party XF permission handlers
- CLI command
xf-rebuild:sv-cached-permissions
can be executed when the add-on is disabled
- Rework XenForo permission handling to on-demand compute permissions instead of computing all possible permissions at once.
- With large numbers of user-groups and nodes, this can reduce multi-minute permission rebuilds to a few page loads.
- The
xf_permission_cache_content
table is no longer populated as this can be incredibly large, and redundant
For SpaceBattles, the table was ~600mb and was reduce to about ~10mb in redis