-
Notifications
You must be signed in to change notification settings - Fork 4
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
base: develop
Are you sure you want to change the base?
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
0280d25
to
39d2fec
Compare
PR changes Update side_effect function for checking Confidential leads
39d2fec
to
388a807
Compare
Addresses:
Changes
Mention related users here if any.
This PR doesn't introduce any:
print
This PR contains valid: