You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 26, 2023. It is now read-only.
As far as I understand, when the plan features change, users stay with the "old" features rules? One needs to use $user->subscription('main')->syncPlanFeatures(); to reflect changes in the user's configuration?
This part of syncPlanFeatures() is only mentioned in plan-subscription-model.md - I think it's worth mentioning as well in the plan-subscription-feature-model.md because it's not that obvious.
What if we would need to update feature set for all the users? Will syncPlanFeatures() work on the Collection of subscribers?
The text was updated successfully, but these errors were encountered:
What if we would need to update feature set for all the users? Will syncPlanFeatures() work on the Collection of subscribers?
Yes, you'd have to loop every user. I think it's a bit difficult to mass update, since there are some comparisons there. I'm no expert, but if you come with a method to mass update I'd be glad to implement it.
As far as I understand, when the plan features change, users stay with the "old" features rules? One needs to use
$user->subscription('main')->syncPlanFeatures();
to reflect changes in the user's configuration?This part of
syncPlanFeatures()
is only mentioned inplan-subscription-model.md
- I think it's worth mentioning as well in theplan-subscription-feature-model.md
because it's not that obvious.What if we would need to update feature set for all the users? Will
syncPlanFeatures()
work on the Collection of subscribers?The text was updated successfully, but these errors were encountered: