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 text was updated successfully, but these errors were encountered:
gdlcf88
changed the title
Judge the management authority of current user to specified store
Multi-store: Judge the management authority of current user to specified store
Apr 29, 2020
gdlcf88
changed the title
Multi-store: Judge the management authority of current user to specified store
Multi-store: check the permission of the current user to the specified store
Jul 30, 2020
gdlcf88
changed the title
Multi-store: check the permission of the current user to the specified store
Multi-store: check if the current user an owner of the specified store
Jul 30, 2020
Related to #68
Use
IStoreOwnerStore
to check whether the user is one of the store owners, if so, he has the authority.For example:
EShop/modules/EasyAbp.EShop.Products/src/EasyAbp.EShop.Products.Application/EasyAbp/EShop/Products/Products/ProductAppService.cs
Lines 245 to 246 in d0202b8
should be:
The text was updated successfully, but these errors were encountered: