Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Hardcoded current_crm_team_id #43

Open
DCox2016 opened this issue Nov 22, 2023 · 0 comments
Open

Hardcoded current_crm_team_id #43

DCox2016 opened this issue Nov 22, 2023 · 0 comments

Comments

@DCox2016
Copy link

  • Laravel CRM Version: 9.0
  • PHP Version: 8.2.10

Description:

The variable current_crm_team_id is hard coded into places

vendor/venturedrake/laravel-crm/database/migrations/create_laravel_crm_tables.php.stub:309
vendor/venturedrake/laravel-crm/src/Http/Middleware/SystemCheck.php:20

the issue is crm_teams uses the config file permissions.php so this can be overwritten causing an issue with venturedrake crm. I would recommend using ENV variable to set 'team_foreign_key' for the permission.php file and for the vendor package.

Steps To Reproduce:

Nothing to reproduce.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant