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

Permissions and many fixes #195

Merged
merged 19 commits into from
Oct 14, 2024
Merged

Permissions and many fixes #195

merged 19 commits into from
Oct 14, 2024

Conversation

devkral
Copy link
Contributor

@devkral devkral commented Oct 11, 2024

Changes:

  • add ComputedField
  • add contrib Permission
  • change managers to adhere the instance attributes
  • join fixes
  • prefix now every select with table and schemaname
    ´- select_related fixes

many others, see release notes

- add ComputeField
- add contrib Permission
- fix managers to adhere the instance attributes
- cleanup kwargs parsing of querysets
- drastically improve queryset filter methods
- add reverse_clean method and fix foreignfields
- fixes for permission and add tests (failing)
- fix join on multiple conditions
- make join left outer join and remove invalid objects
- fixes in managers.py
- add documentation
- improve flaky secrets exclusion
- replace raw_query with as_select

Todo:
- fix remaining race conditions so select_related is not added
- fix typings
- pass through tables used for select, so there should be a correct
  mapping
- distinguish between tables with schemes correctly
- add select_related tests
- expose bug in select related
- fix flaky test in test_select_related_nested
- provide a with_schema as well as with_tenant contextmanager
- handle schema="" correctly
- fix select_related logic by dependency tracking
- document ComputedField
- fix id not appearing in dumps
- fix exclusion (not in model_fields)
- fix select_related overwriting each other
- fix name collision with private pydantic namespace
- add advanced example for permissions
@devkral devkral changed the title WIP: Permissions Permissions and many fixes Oct 14, 2024
@devkral devkral merged commit 24f8822 into main Oct 14, 2024
8 checks passed
@devkral devkral deleted the devkral/feature/permission branch October 14, 2024 15:58
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