Commit d181bad4 authored by Mickaël Desfrênes's avatar Mickaël Desfrênes
Browse files

activate user when added to project

parent 27cd9411
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
__version__ = "0.1.53"
__version__ = "0.1.55"
+0 −1
Original line number Diff line number Diff line
<main>
    <h1>ADD USER TO PROJECT</h1>
    <table class="table table-sm">
    <tbody>
        {% for user in users %}
+2 −0
Original line number Diff line number Diff line
@@ -254,6 +254,8 @@ def _add_user_to_project(project: Project, user: User):
    ProjectAccess.objects.create(
        project=project, user=user, role=_jama_readwrite_role(project)
    )
    user.is_active = True
    user.save()


@never_cache