Restrict anonymous submission migration to surveys #4840
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Notes
Asset types other than
survey
should not be assignedadd_submissions
; we thought it was benign, but it can cause problems when:survey
library itemadd_submission
assignmentadd_submission
is not a valid assignment for the asset typeInternal discussion: https://chat.kobotoolbox.org/#narrow/stream/4-Kobo-Dev/topic/can't.20share.20collections.20in.20library/near/337874
Description
Avoids future "Failed to update permissions" errors when trying to change sharing settings for library items
Related issues
Related to #4719