-
Notifications
You must be signed in to change notification settings - Fork 5
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
Validation for private projects and confidential leads #1504
Validation for private projects and confidential leads #1504
Conversation
ecd9f54
to
35b3b81
Compare
@@ -392,9 +419,11 @@ def test_automatic_summary(self, trigger_results_mock, RequestHelperMock): | |||
lead1 = LeadFactory.create(project=self.project) | |||
lead2 = LeadFactory.create(project=self.project) | |||
another_lead = LeadFactory.create(project=self.another_project) | |||
lead3 = LeadFactory.create(project=self.private_project) |
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.
Let's create another confidential leads RESTRICTED, CONFIDENTIAL and some entries. Make sure the generated files doesn't include those entries, even if filters allows.
Similar to what we did before here https://github.com/the-deep/server/pull/1502/files#diff-223594694777faf05fef2c6acee1587a281db5d1002813ca7b0e43862d6feda0R256-R268
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.
For this one, Let's merge the Mentioned PR and Update the fields validation. They are on same function that's why.
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.
@AdityaKhatri Will merge this #1502. After that, let's confirm the above changes.
ad9e2f9
to
afd6d2b
Compare
afd6d2b
to
0280d25
Compare
39d2fec
to
388a807
Compare
PR changes Update side_effect function for checking Confidential leads
388a807
to
2d6961d
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1504 +/- ##
========================================
Coverage 79.74% 79.75%
========================================
Files 464 464
Lines 30136 30146 +10
Branches 3384 3386 +2
========================================
+ Hits 24033 24043 +10
Misses 6103 6103 ☔ View full report in Codecov by Sentry. |
Addresses:
Changes
Mention related users here if any.
This PR doesn't introduce any:
print
This PR contains valid: