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

Added filament multitenancy support for media picker #377

Conversation

viraljetani
Copy link
Contributor

When using Filament Multitenancy, the Curator Picker wasn't scoping its query to use the tenant id when loading assets. This was creating problem where images of all tenants were getting loaded and user can delete image of any tenant.

To prevent this I have added support to identify if the panel is Tenancy enabled we would scope the query to that tenant and load only the images of the tenant.

@awcodes awcodes merged commit 141cf06 into awcodes:3.x Dec 13, 2023
1 check passed
@viraljetani viraljetani deleted the add_filament_multitenancy_support_for_media_picker branch December 14, 2023 04:13
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