mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-20 23:16:15 +08:00
Fix project users assignment to newly created experiments [SCI-7336]
This commit is contained in:
parent
58acb94977
commit
a3b8f98b24
|
@ -59,6 +59,8 @@ module Assignable
|
|||
assigned: is_a?(Project) ? :manually : :automatically,
|
||||
user_role: role
|
||||
)
|
||||
|
||||
UserAssignments::GenerateUserAssignmentsJob.perform_later(self, created_by)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue