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

Remove requirement of Auth in photo upload, pass ownerId as argument #1787

Merged
merged 1 commit into from
Apr 6, 2023

Conversation

ildyria
Copy link
Member

@ildyria ildyria commented Apr 6, 2023

Currently Photo creation requires Auth in order to access the userId. There is no other use for this.
Rights & Permissions have already been checked in the middleware, so this Auth is superfluous and forces the use of Sessions during job executions.

This PR removes this dependency which should allow to make photo processing less session dependent.

@ildyria ildyria requested a review from qwerty287 April 6, 2023 11:00
@codecov
Copy link

codecov bot commented Apr 6, 2023

Codecov Report

Merging #1787 (2fa2632) into master (0a2fafa) will decrease coverage by 0.29%.
The diff coverage is 100.00%.

Additional details and impacted files

@ildyria ildyria merged commit a46aa7f into master Apr 6, 2023
@ildyria ildyria deleted the no-more-auth-in-create branch April 6, 2023 14:11
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