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

Allow userId to be null #11611

Merged
merged 1 commit into from
Oct 4, 2018
Merged

Allow userId to be null #11611

merged 1 commit into from
Oct 4, 2018

Conversation

rullzer
Copy link
Member

@rullzer rullzer commented Oct 4, 2018

Fixes #10852

A quick hack. Still ensures some type safety however now also accepts
null. Else we'd need to add a whole new layer of middlewares.

This can only happen when a guest user wants to access a controller that
requries the user_id.

Signed-off-by: Roeland Jago Douma roeland@famdouma.nl

Fixes #10852

A quick hack. Still ensures some type safety however now also accepts
null. Else we'd need to add a whole new layer of middlewares.

This can only happen when a guest user wants to access a controller that
requries the user_id.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzer rullzer added the 3. to review Waiting for reviews label Oct 4, 2018
@rullzer rullzer added this to the Nextcloud 15 milestone Oct 4, 2018
@rullzer rullzer merged commit bfa870d into master Oct 4, 2018
@rullzer rullzer deleted the fix/10852 branch October 4, 2018 13:35
@MorrisJobke
Copy link
Member

@rullzer Backport for 14.0.2?

@MorrisJobke
Copy link
Member

@rullzer Mind to open the backport PR?

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

Successfully merging this pull request may close these issues.

None yet

4 participants