Set distributable Special Permissions Licenses#5681
Merged
AlexVelezLl merged 3 commits intolearningequality:unstablefrom Feb 12, 2026
Merged
Conversation
AlexVelezLl
requested changes
Feb 10, 2026
Member
AlexVelezLl
left a comment
There was a problem hiding this comment.
Thanks @taoerman! Just one little deviation from the issue description!
Comment on lines
575
to
578
| if channel.public and channel.version_info: | ||
| models.AuditedSpecialPermissionsLicense.mark_channel_version_as_distributable( | ||
| channel.version_info.id | ||
| ) |
Member
There was a problem hiding this comment.
Could we move this logic to the publish module instead? Thanks! Since we are handling all this logic inside the publish module, it'll be better to keep this there too
Member
Author
There was a problem hiding this comment.
Thanks, Alex! I have moved this logic from channel to publish.
AlexVelezLl
approved these changes
Feb 12, 2026
Member
AlexVelezLl
left a comment
There was a problem hiding this comment.
Code changes make sense, and manual QA checks out. Thanks a lot @taoerman!!
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.
Summary
Added AuditedSpecialPermissionsLicense.mark_channel_version_as_distributable and wired it into Community Library approval and public publish flows.
Ensured audited special-permissions licenses are marked distributable for approved submissions and public channel publishes.
Added tests covering both workflows.
References
Fixed #5627
Reviewer guidance
Run unit tests