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 user/session context #26

Closed
TimoBechtel opened this issue May 12, 2022 · 1 comment
Closed

Add user/session context #26

TimoBechtel opened this issue May 12, 2022 · 1 comment
Assignees
Labels
idea rough idea for a new feature released

Comments

@TimoBechtel
Copy link
Owner

what

Add some kind of session/user context to be able to add user information to a single socket connection.

why

Currently, authentication happens in the WebsocketServer (default: ws), e.g. using verifyClient. However, the user information can not be accessed inside of socketdb. There should be a way to access this information to be able to add a permission system (as plugin) based on user access rights.

@TimoBechtel TimoBechtel added the idea rough idea for a new feature label May 12, 2022
@TimoBechtel TimoBechtel changed the title Add session context Add user/session context May 13, 2022
@TimoBechtel TimoBechtel self-assigned this May 13, 2022
github-actions bot pushed a commit that referenced this issue May 13, 2022
# [3.9.0](v3.8.1...v3.9.0) (2022-05-13)

### Features

* **server:** allow adding a user context ([b00f0bc](b00f0bc)), closes [#26](#26)
@github-actions
Copy link
Contributor

🎉 This issue has been resolved in version 3.9.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea rough idea for a new feature released
Projects
None yet
Development

No branches or pull requests

1 participant