How to secure public actions in Core Service module
Question
Application Type
Reactive

Hi

Application : Reactive

I have a core services module where I defined all the business related server action which is public.

1) How to secure this public actions? 

2) I wan to implement BDD testing also so what kind of framework we should create so that it is secured and should be used in BDD as well?

Thanks in Advance....

 

Hi! 

for 1)  i believe the answer for  that is :

-You must verify the  permissions in the beginning  of each one of this actions , considering that the platform ensures the safety of the "GetUserId()" function.

Hope this helps

Graça

Hi Maria,

Yes we can do that check with role wise to have access to that particular action but that is what every time I need to make check which I don't think fusible way.

If any other way that you can suggest.

thanks a lot....  

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.