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

Fix selectIsCollectionPrivateForId #3086

Merged

Conversation

keikari
Copy link
Contributor

@keikari keikari commented Apr 17, 2024

Private list with unpublished edits wasn't actually considered private. So if editing in publishing form, would cause submit to try to do collectionUpdate.

Fix:
Copied the related stuff from selectHasPrivateCollectionForId to selectIsCollectionPrivateForId, just left out the checks for private versions of published lists.
2024-04-17_18-08

Didn't test much, but don't really see how this could cause any surprises. (Unpublished collections only has the actually private lists)

@keikari
Copy link
Contributor Author

keikari commented Apr 17, 2024

Didn't got any lint issues locally, seems to be related to previous PR

@tzarebczan
Copy link
Contributor

@toshokanneko worth fixing that lint issue or I should just push it through?

@toshokanneko
Copy link
Contributor

toshokanneko commented Apr 17, 2024

I fixed it in the master branch.
@keikari You can update this and and merge it.

@keikari keikari force-pushed the fix-privatelist-publish-edit branch from 11deb28 to a3aef43 Compare April 17, 2024 16:36
@keikari
Copy link
Contributor Author

keikari commented Apr 17, 2024

Updated, I think. I don't have permission to merge, so will need help with that part too : D

@toshokanneko toshokanneko merged commit e425510 into OdyseeTeam:master Apr 17, 2024
2 checks passed
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.

3 participants