Allow how-to creators to restrict who can see their how-to#949
Merged
amyjko merged 3 commits intowordplaydev:mainfrom Feb 14, 2026
Merged
Allow how-to creators to restrict who can see their how-to#949amyjko merged 3 commits intowordplaydev:mainfrom
amyjko merged 3 commits intowordplaydev:mainfrom
Conversation
amyjko
approved these changes
Feb 14, 2026
amyjko
added a commit
that referenced
this pull request
Feb 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Context
In #882, we introduce the new how-to feature, which includes giving gallery curators the option to "expand" access to how-tos. If a gallery A is in "expanded" mode, it means that curators and creators in other galleries curated by the same curator can see the how-tos in gallery A. This might be useful in cases where teachers teach multiple sections or across multiple years and want students to be able to view other classes' how-tos.
We want users to be able to overwrite this setting. That is if the gallery is set to "expanded" mode, creators should have the option to restrict access back to only curators and creators in the gallery that the how-to is in. Back to the example use case, maybe a student only wants their how-to to be visible to their classmates, not to future classes or another class section.
This PR implements this feature as described. We add a "share" panel to the how-to form, where users can change this setting. This panel is always accessible, even if the gallery is not set to expanded mode, since that could be changed later (i.e., users can pre-empt the gallery's access scope being expanded).
Also, small bugfixes:
Related issues
Verification
Checklist