Open Woland2k opened 7 years ago
In content module need to support only one scope is Store Here is example how to work with scope based permissions https://github.com/VirtoCommerce/vc-module-store/blob/master/VirtoCommerce.StoreModule.Web/Controllers/Api/StoreModuleController.cs#L233
Did you test what you made?
Any content permissions does not contains scope definition UI
All methods have [CheckPermission(Permission = ContentPredefinedPermissions.XXXX)]
attribute which will always throw 401 exception for customer without global
permission.
Need to check scope user permissions for a particular store when creating pages.
As a manager, I want to manage permissions to Create, Update or Delete pages