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

Feature/panel user #236

Merged
merged 2 commits into from
Sep 23, 2023
Merged

Feature/panel user #236

merged 2 commits into from
Sep 23, 2023

Conversation

bezhanSalleh
Copy link
Owner

No description provided.

@bezhanSalleh bezhanSalleh merged commit 2f575e7 into 3.x Sep 23, 2023
5 checks passed
@bezhanSalleh bezhanSalleh deleted the feature/panel-user branch September 23, 2023 13:40
@what-the-diff
Copy link

what-the-diff bot commented Sep 24, 2023

PR Summary

  • New Configuration Setting in config/filament-shield.php
    A new configuration setting was added which allows enabling and naming the panel_user feature.

  • Enhancement to createRole Method in src/FilamentShield.php
    The method to create roles in the filament shield file was modified. It now accepts an optional parameter for naming the role.

  • New Utility Methods in src/Support/Utils.php
    New utility methods were added that handle panel_user role-related functionalities. These methods can check if the panel_user role is enabled, get its name, and create the role if it's enabled.

  • Addition of src/Traits/HasPanelShield.php
    A new trait file was introduced, providing panel-related functionality to a model. This includes methods for initiating the panel shield, assigning, and removing roles, and verifying a user's access to the panel.

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.

1 participant