You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ESoCC: Add a public filter to the kolibri-public's ChannelMetadata viewset #5263
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Observed behavior
Kolibri uses the ChannelMetadataViewset to allow for remote browsing in Learn. However we don't currently have a filter on the public field, and we return all public and non-public channels (i.e. community channels) on the public channels request:
We will need to add a filter on the public field, and set it to true if the filter is not present on the request. We can use this on the filterset.
Expected behavior
This viewset should only return public channels unless otherwise requested.
Prerrequisites
Try to visualize the local Studio public Library in Kolibri by setting the KOLIBRI_CENTRAL_CONTENT_BASE_URL environment variable in Kolibri to point to the local Studio URL. Then go to Learn > Library.
Replicate the error by approving a Community Library Submission in Studio, and see that this channel is (incorrectly) visible in the Kolibri Library channel list in Kolibri.
Acceptance criteria
Community Library Channels are not visible in the Kolibri Library channel list in Kolibri.
Activity
AlexVelezLl commentedon Oct 24, 2025
Fixed by #5486