Skip to content

Wrap object permissions check in sync_to_async - #77

Merged
em1208 merged 1 commit into
em1208:mainfrom
CristopherH95:enhancement/async-object-perm
Nov 24, 2025
Merged

Wrap object permissions check in sync_to_async#77
em1208 merged 1 commit into
em1208:mainfrom
CristopherH95:enhancement/async-object-perm

Conversation

@CristopherH95

Copy link
Copy Markdown
Contributor

This pull request wraps the check_object_permissions call used in aget_object in sync_to_async. This is to help avoid SynchronousOnlyOperation or RuntimeError exceptions when more in-depth permissions checks are used.

Resolves #74.

@CristopherH95 CristopherH95 changed the title Wrap object permissions check in sync_to_async Wrap object permissions check in sync_to_async Nov 8, 2025
@em1208
em1208 merged commit b505dd0 into em1208:main Nov 24, 2025
7 checks passed
@em1208

em1208 commented Nov 24, 2025

Copy link
Copy Markdown
Owner

Thank you @CristopherH95 for this. I merged it and it's part of the release 0.1.12.

@CristopherH95
CristopherH95 deleted the enhancement/async-object-perm branch March 14, 2026 18:31
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.

SynchronousOnlyOperation or RuntimeError when using object level permissions

2 participants