Spring data rest - Is there a way to restrict some operations?

29 views Asked by At

I have a entity User. Is there any way to restrict GET method on /users?

The reason I want it to be restricted is because the app is a multi tenant application. /users for example will fetch all users belonging to all tenants.

0

There are 0 answers