-
Couldn't load subscription status.
- Fork 236
Closed
Description
❌ 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_URLenvironment 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 Librarychannel list in Kolibri.
Acceptance criteria
- Community Library Channels are not visible in the
Kolibri Librarychannel list in Kolibri.
Metadata
Metadata
Assignees
Labels
No labels
