-
Notifications
You must be signed in to change notification settings - Fork 972
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
[backend] handle inferred organizations in organization sharing #9558
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #9558 +/- ##
==========================================
+ Coverage 65.22% 65.36% +0.13%
==========================================
Files 630 630
Lines 60199 60258 +59
Branches 6741 6817 +76
==========================================
+ Hits 39267 39388 +121
+ Misses 20932 20870 -62 ☔ View full report in Codecov by Sentry. |
we might need to change other parts where we use allowed_organizations (in access.ts) |
f3d2300
to
e2ea841
Compare
0e7690e
to
4f6a7b3
Compare
b414944
to
c7f4cb7
Compare
4f6a7b3
to
c02992a
Compare
I think you're right @SouadHadjiat, everything using allowed_organizations in access.ts should use organizations now. |
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 think we want to remove completely allowed_organizations, right ? @marieflorescontact
@@ -129,6 +129,12 @@ describe('Logger test suite', () => { | |||
expect(cleanObject.cause.attributes.cause.message).toBe('embedded error'); | |||
}); | |||
|
|||
it('Log object with error correctly formatted', () => { |
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.
did you change this test ?
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.
no
you have a commit from Julien that comes from master (due to force push on master done by Julien a few days ago), you might need to drop this commit on your branch, then rebase master. |
I thought we wanted to use |
f431ec2
to
112c4f5
Compare
Proposed changes
const shouldOrgs = user.allowed_organizations
byconst shouldOrgs = user.organizations
as infferred organization are not inallowed_organizations
Related issues
Checklist
Further comments