Hello Devs,

Recently, I came across the CRUD operation services for ShoppingList and
ShoppingListItem entities. The security related checks are present inline
in these services which violate the best practice of keeping security
implementation different from the business logic.

I would like to propose creating security services for such operations and
to call them as a permission-service from the CRUD operation
services definition. This will also enable users to easily modify the
security checks for their custom implementation. ill then, I would like to
know your thoughts on this idea.

Thanks,
*Chinmay Patidar*

Reply via email to