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

Add ability to change users #88

Open
shadd-anderson opened this issue Oct 17, 2016 · 2 comments
Open

Add ability to change users #88

shadd-anderson opened this issue Oct 17, 2016 · 2 comments

Comments

@shadd-anderson
Copy link

When manually testing an API, it can be useful to change pre-loaded users to test different functionalities. For instance, testing whether only an "admin" can create an object, where a generic "user" cannot.

@upachler
Copy link

I don't see user management and login as the scope of the HAL browser. In my project I moved the HAL browser into a server path requiring authentication, same as the REST API - and now they share the user management. Because all calls that the HAL browser makes are done in the context of the current session, the REST services see that session as well and can act accordingly.

So ultimately, changing users is up to your application, and not the HAL browser

@shadd-anderson
Copy link
Author

@upachler That makes a lot of sense, actually. Would still be a nice feature though :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants