Skip to content

[feature] MultitenantAdminMixin: filter by the organization of the object if obejct exists #281

Open
@nemesifier

Description

@nemesifier

We may be able to restrict the queryset of fields which relate to other models so that only objects that relate to the organization of the parent are shown.

We have to be careful in handling different cases:

  • Normal django admin change/add pages (new objects don't have any org set so it can't be done)
  • Inlines (maybe we can implement it here too but we should provide a way to disable it if needed)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions