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
The previous shop.defaultVisitorRoles are the roles now defined in the guest group.
Also, the previous shop.defaultCustomerRoles are the roles now defined in the default customer group.
So a previous reference to shop.defaultVisitorRoles should now use the group object (e.g Groups.find({slug: "guest"}).permissions).
The default list of those roles that we had on the Shop schema are present on server export of Reaction (i.e Reaction.default...)
Hi @machikoyasuda .. #311 did not actually cover everything for this ticket. I could have combined then but didn't think about it. I can get this in soon too (should not be more than a few sentences).
Things around the fact that:
The previous
shop.defaultVisitorRoles
are the roles now defined in theguest
group.Also, the previous
shop.defaultCustomerRoles
are the roles now defined in the defaultcustomer
group.So a previous reference to
shop.defaultVisitorRoles
should now use the group object (e.gGroups.find({slug: "guest"}).permissions
).The default list of those roles that we had on the Shop schema are present on server export of Reaction (i.e Reaction.default...)
Ref: reactioncommerce/reaction#2183
The text was updated successfully, but these errors were encountered: