-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
Feature/tenancy #441
Feature/tenancy #441
Conversation
PR Summary
|
…ield into feature/tenancy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
…ield into feature/tenancy
…ield into feature/tenancy
This pull request includes several important changes to the
FilamentShield
project, focusing on adding new functionalities, improving existing ones, and updating dependencies. The most crucial updates are the introduction of new traits for handling tenancy and plugin registration, updates to command functionalities, and dependency management improvements.New Functionality:
CanGenerateRelationshipsForTenancy
trait to automate the generation of relationships for tenancy support. (src/Commands/Concerns/CanGenerateRelationshipsForTenancy.php
)CanMakePanelTenantable
trait to make panels tenantable by adding necessary middleware and plugins. (src/Commands/Concerns/CanMakePanelTenantable.php
)CanRegisterPlugin
trait to facilitate the registration of the FilamentShield plugin. (src/Commands/Concerns/CanRegisterPlugin.php
)Command Enhancements:
MakeShieldGenerateCommand
toGenerateCommand
and added new options for tenant relationships and panel selection. (src/Commands/GenerateCommand.php
) [1] [2]CanBeProhibitable
trait to prohibit commands from running in certain environments. (src/Commands/Concerns/CanBeProhibitable.php
)PublishCommand
now allows publishing the Shield resource for a given panel and namespaces.RoleResource
and its associated pages.Configuration Updates:
tenant_model
configuration option tofilament-shield.php
. (config/filament-shield.php
)Localization Improvements:
filament-shield.php
. (resources/lang/en/filament-shield.php
) [1] [2]