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
[Libraries] [Collections] [Backend] Add tags to collections #228
Update the edx-platform tagging/content_library APIs so that users with appropriate permissions can add/remove tags from collections. No changes to openedx-learning are expected for this ticket.
Notes:
We can use the existing tagging mechanism, i.e. create an ObjectTag instance where object_id would be the key of the Collection being tagged
However, to do that we need to extend object_id field to support more keys, currently it only supportsCourseKey, LibraryLocatorV2 or a UsageKey.
We likely need to create a new type of key, CollectionKey in the opaquekeys repo, that could look something like: lib-collection:org:lib:collection-id.
The Collection's org can be pulled from the associated ContentLibrary.
Add convenience method that generates a Collection's object_key . Should probably live in content_libraries.api, since it needs the ContentLibrary's key?
Activity
pomegranited commentedon Aug 27, 2024
Part 2 of this ticket:
object_key. Should probably live incontent_libraries.api, since it needs the ContentLibrary's key?object_keyandtagsfield to the collection's Meilisearch index, using the same format as used for tagged components.pomegranited commentedon Sep 25, 2024
Backend changes have been deployed to the sandbox; nothing to AC test here :)