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

User context always (incorrectly) assumes that $current_user is only updating their own profile #1

Closed
frankiejarrett opened this issue Nov 25, 2013 · 1 comment
Assignees
Labels
Milestone

Comments

@frankiejarrett
Copy link
Contributor

Within the Users context, when a profile Stream assumes that $current_user is always editing their own profile. However, it could be that an Administrator user is updating someone else's profile on their behalf.

Therefore, the post_author for these stream posts should always be $current_user, but the summary data should still reference the user whose profile was updated.

This same principle can apply to other actions as well, such as registering other users.

screen_shot_2013-11-25_at_3 06 30_am

@ghost ghost assigned shadyvb Nov 25, 2013
@shadyvb
Copy link
Contributor

shadyvb commented Nov 26, 2013

@fjarrett Fixed in 5b809ce

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

No branches or pull requests

2 participants