-
Notifications
You must be signed in to change notification settings - Fork 12
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
✨(models/api) allow inviting external users to a document by their email #56
Conversation
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 can see the tests failed probably because mail/html/invitation.html
is not generated.
I have a question about that, why the mail templates are not git versioned ? If we versioned our templates, we will not have to build them constantly in the CI or in the make bootstrap
.
Otherwise they can be generated like that in the CI:
See: suitenumerique/people@f6d5f73
@AntoLC I think email templates should not be persisted for reason of "unicity of information". As long as we are able to generate the content, it is technically not part of our source code in my opinion. |
@AntoLC I pushed a fixup. The PR is ready for further review! |
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.
Nice!
cb9cc2d
to
65671ed
Compare
65671ed
to
d89f146
Compare
Running the container as root will install npm modules with root access rights and generate issues when running the application with the logged in user as we do it with Docker Compose.
We want to be able to share a document with a person even if this person does not have an account in impress yet. This code is ported from https://github.com/numerique-gouv/people.
d89f146
to
f246d11
Compare
Purpose
We want to be able to share a document with a person even if this person does not have an account in impress yet.
Proposal
This code is ported from https://github.com/numerique-gouv/people and adapted to the differences in
Impress
:Identity
object, the identity is carried by theUser