Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ Unreleased

*

0.19.1 - 2025-11-25
********************

Fixed
=====

* Use `short_name` instead of `name` from organization when building library key.

0.19.0 - 2025-11-18
********************

Expand Down
2 changes: 1 addition & 1 deletion openedx_authz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

import os

__version__ = "0.19.0"
__version__ = "0.19.1"

ROOT_DIRECTORY = os.path.dirname(os.path.abspath(__file__))
2 changes: 1 addition & 1 deletion openedx_authz/engine/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def migrate_legacy_permissions(ContentLibraryPermission):
continue

# Generating scope based on library identifier
scope = f"lib:{permission.library.org.name}:{permission.library.slug}"
scope = f"lib:{permission.library.org.short_name}:{permission.library.slug}"

if permission.group:
# Permission applied to a group
Expand Down