Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix exception in in-memory permission backend (fixes #2687) #3493

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

cbguder
Copy link
Contributor

@cbguder cbguder commented Feb 11, 2025

Fix an exception in the in-memory permission backend when user principles exist, and get_accessible_objects is called without bound permissions.

Fixes #2687.

  • Add documentation.
  • Add tests.
  • Add a changelog entry.
  • Add your name in the contributors file.
  • If you changed the HTTP API, update the API_VERSION constant and add an API changelog entry in the docs
  • If you added a new configuration setting, update the kinto.tpl file with it.

Fix an exception in the in-memory permission backend when user
principles exist, and get_accessible_objects is called without bound
permissions.

Fixes Kinto#2687.
@leplatrem leplatrem added the bug label Feb 12, 2025
@leplatrem leplatrem changed the title Fix exception in in-memory permission backend Fix exception in in-memory permission backend (fixes #2687) Feb 12, 2025
@leplatrem
Copy link
Contributor

Awesome, thank you very much!

@leplatrem leplatrem merged commit 9aca45e into Kinto:main Feb 12, 2025
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTTP 500 on get permissions (ValueError)
2 participants