-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Follow contact permissions when importing contacts #14554
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
Follow contact permissions when importing contacts #14554
Conversation
…panyController::editAction()
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 6.x #14554 +/- ##
============================================
- Coverage 64.70% 64.67% -0.04%
- Complexity 34687 34695 +8
============================================
Files 2274 2274
Lines 103626 103647 +21
============================================
- Hits 67053 67032 -21
- Misses 36573 36615 +42
🚀 New features to boost your workflow:
|
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.
I see no issues in the code here 👍
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.
The patch is missing some coverage. Please add it.
…tacts-2 # Conflicts: # app/bundles/LeadBundle/Tests/Model/LeadModelTest.php
@rahuld-dev the coverage is not reported correctly by Codecov. I checked the coverage in my environment and can see the lines I changed within this PR are fully covered. See the screenshots below. |
|
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.
Code changes LGTM!!!
…e UUID migration so it breaks for older instances
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.
This pull request has been mentioned on Mautic Forums. There might be relevant details there: https://forum.mautic.org/t/issue-with-logging-in-to-mautic-6-0-after-upgrade-from-5-2-5/35610/3 |
Description
This PR adds permission checks during contact and company imports.
📋 Steps to test this PR:
imported
.User '<username>' has insufficient permissions
for all the rows containing updates./s/companies/import/new
. The company import follows the sameContact Permissions
. There are no separateCompany Permissions
.