Skip to content

Conversation

@CristopherH95
Copy link
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
Copy link
Owner

em1208 commented Nov 24, 2025

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

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