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

Use this.userId() in publish rather than an arg. #6

Merged
merged 1 commit into from
Sep 27, 2012
Merged

Use this.userId() in publish rather than an arg. #6

merged 1 commit into from
Sep 27, 2012

Conversation

debergalis
Copy link
Contributor

Also eliminates the current_user_id global.

Also eliminates the current_user_id global.
@debergalis
Copy link
Contributor Author

The server shouldn't trust the client asking for the proper user ID. The server defines this.userId() inside publish functions and methods as a trustable way to know which user is logged in.

SachaG added a commit that referenced this pull request Sep 27, 2012
Use this.userId() in publish rather than an arg.
@SachaG SachaG merged commit 227cc18 into VulcanJS:master Sep 27, 2012
saitodisse pushed a commit to azukiapp/Telescope that referenced this pull request Nov 7, 2015
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

Successfully merging this pull request may close these issues.

2 participants