Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

Comments

Projects
None yet
2 participants
@wuyuanyi135
Copy link

wuyuanyi135 commented Feb 15, 2016

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

This comment has been minimized.

Copy link
Member

daffl commented Feb 15, 2016

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

@wuyuanyi135

This comment has been minimized.

Copy link
Author

wuyuanyi135 commented Feb 15, 2016

Thank you. Will look at it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.