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

Write projection streams using the system principal instead of the current user #889

Merged
merged 1 commit into from Apr 15, 2016

Conversation

hayley-jean
Copy link
Member

Fixes #873
The UI part of this is EventStore/EventStore.UI#122

Queries were failing for non-admin users because they do not have access to write to system streams (including projection streams).

This fix uses the system principal to write to the projection streams instead of the current user. This only applies to once-off projections and queries, and happens after we ensure that the user has access to the stream he's trying to query.

@pgermishuys pgermishuys merged commit f38402b into release-v3.6.0 Apr 15, 2016
@pgermishuys pgermishuys deleted the non-admin-users branch April 15, 2016 07:59
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.

None yet

2 participants