Check user permission in rest builder services

Olaf Kock, modified 1 Year ago. New Member Posts: 3 Join Date: 2/22/22 Recent Posts

Which is the best way to expose a rest service which take the userid as parameter and return true/false based on if the user has a certain role? ( i am using portal session token x-csrf as authentication method). I need it to show/hide some information on a react portlet.

7.3