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

[Task] Get current user id from listener #578

Open
taorepoara opened this issue Oct 24, 2023 · 2 comments
Open

[Task] Get current user id from listener #578

taorepoara opened this issue Oct 24, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@taorepoara
Copy link
Member

What should be done

When running a listener, we can't get the current user Mongo id.

Technical recommandation

Add the context in the listeners params.

@taorepoara taorepoara added the enhancement New feature or request label Oct 24, 2023
@taorepoara taorepoara changed the title [Task] Get current user id from lsitener [Task] Get current user id from listener Oct 25, 2023
@taorepoara
Copy link
Member Author

One way have the user id in the listeners is to get me from a view context and give as props of the listeners.

@taorepoara
Copy link
Member Author

The transaction problem should be resolved with #495

The @me don't seems to be useful aside of that...

@taorepoara taorepoara transferred this issue from lenra-io/lenra_cli May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🟤 Can wait
Development

No branches or pull requests

1 participant