Skip to content
This repository was archived by the owner on Mar 22, 2022. It is now read-only.

How to forbid get and find on the userEndpoint? #66

Closed
wuyuanyi135 opened this issue Feb 15, 2016 · 2 comments
Closed

How to forbid get and find on the userEndpoint? #66

wuyuanyi135 opened this issue Feb 15, 2016 · 2 comments

Comments

@wuyuanyi135
Copy link

Hello
I don't want get and find service exposed to the user because it will list usernames. I tried to use hook but after disabling find the authentication process failed: because it need the user service to populate username. Is there any suggestion to block these services?

@daffl
Copy link
Member

daffl commented Feb 15, 2016

You can use the disable hook and disable external access for those methods.

@wuyuanyi135
Copy link
Author

Thank you. Will look at it

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants