* Store refactor: convert WidgetPermissionStore Add Jest tests as well. * More tests * Review comments