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

tenant support logic added. #55

Merged
merged 2 commits into from
May 3, 2024

Conversation

nilede-bharat
Copy link
Contributor

No description provided.

Copy link

what-the-diff bot commented Apr 29, 2024

PR Summary 📚

  • Adding a New Configuration
    Added a new configuration to identify which model (in our case, it's the 'Team' model) is responsible for handling multi-tenancy. This means having different groups of users with specific privileges within the same application. 🔄

  • Data Model Update
    Tweaked the 'filament_email_log' database table to include a new column 'tenant_id'. This helps keep track of which team (tenant) a specific email belongs to. This field may sometimes be empty, which is just fine by the system! 🗃️

  • Improving Logging
    Enhanced the logging system. Now, it not only logs the events but also knows who initiated the event - either a tenant (team) or a regular authenticated user. This is a fancy way of saying we now know who did what! 🕵️‍♂️👀

  • Getting Connected
    Introduced a new 'Team' relationship to the 'Email' model. This basically means, now each email is associated with a team and vice versa. Emails love to have buddies! 💌❤️

  • Upgrading 'Boot' Method
    Tweaked the 'boot' method in the 'Email' model. Boot methods are called when the model is being brought into action. Our method is now even better at its job! 🚀

@marcogermani87
Copy link
Collaborator

marcogermani87 commented Apr 29, 2024

Hi @nilede-bharat, thanks for PR; i need to review some code to store attachments into specific team_id folder and doing some tests before merging this.

@marcogermani87 marcogermani87 added the enhancement New feature or request label Apr 29, 2024
@marcogermani87 marcogermani87 self-assigned this Apr 29, 2024
@marcogermani87 marcogermani87 merged commit 0cd753b into RickDBCN:main May 3, 2024
11 checks passed
marcogermani87 added a commit that referenced this pull request May 4, 2024
…nilede-bharat. Minor fixes and code review. Updated README and screenshots.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants