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

Figure out how to check Filament Tenancy / add global scopes to all *owned* items #162

Open
dave-mills opened this issue Jan 29, 2025 · 1 comment
Milestone

Comments

@dave-mills
Copy link
Member

No description provided.

@dave-mills dave-mills added this to the Odk Sprint milestone Jan 29, 2025
@dave-mills
Copy link
Member Author

For the AppPanels, we need to allow a default global scope for "owned" items:

  • Xlsform
  • Dataset
  • Entity
  • ChoiceListEntry

Options

  • Force custom model classes for each of these in the main app, and add the global scopes there. (Not ideal)
  • Somehow detect within the package whether a Filament Tenant exists, and if that tenant implements HasXlsforms, and if then add the global scope...
  • ...something better than either of those ideas...

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

No branches or pull requests

1 participant