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

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.

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