Skip to content

fix: create SearchAccess on library creation for course creator search access#725

Merged
Waleed-Mujahid merged 1 commit intodevelop-ulmofrom
waleed/8307
Mar 9, 2026
Merged

fix: create SearchAccess on library creation for course creator search access#725
Waleed-Mujahid merged 1 commit intodevelop-ulmofrom
waleed/8307

Conversation

@Waleed-Mujahid
Copy link
Member

Description

This PR cherry-picks upstream PR#38091

Ticket

https://projects.arbisoft.com/project/edly-product/task/8307

…h access (openedx#38091)

* fix: create SearchAccess on library creation for course creator search access

When a course creator creates a new library, the SearchAccess record must exist immediately so their JWT token can include the library's access_id. Without this, course creators cannot see newly added components in search results until the page is refreshed.

This issue doesn't affect superusers who bypass access_id filtering.

* test: verify SearchAccess is created automatically on library creation

---------

Co-authored-by: Usama Sadiq <usama7274@gmail.com>
@Waleed-Mujahid Waleed-Mujahid changed the title fix: create SearchAccess on library creation for course creator search access (openedx#38091) fix: create SearchAccess on library creation for course creator search access Mar 6, 2026
@Waleed-Mujahid Waleed-Mujahid merged commit ea72636 into develop-ulmo Mar 9, 2026
16 of 49 checks passed
@Waleed-Mujahid Waleed-Mujahid deleted the waleed/8307 branch March 9, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants