Fixed Enabling an add-on does not rebuild permissions if that add-on has enabled permissions

Xon

Well-known member
Affected version
2.0.11
If an add-on is disable, and thus it's permissions removed from consideration when rebuilding permission, and then a permission change is made, on enabling the add-on that add-on's permissions will be missing.

"Analyze permissions" will correctly indicate that the user has permissions, but the combination cache entry will not contain those permissions.

This is because XF\AddOn\DataType\Permission::rebuildActiveChange is not implemented to add the permission change job.
 
Thank you for reporting this issue. The issue is now resolved and we are aiming to include that in a future XF release (2.0.12).

Change log:
Ensure permissions are rebuilt on add-on active change.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Back
Top Bottom