mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-06 12:43:06 +08:00
Fix user assignment deletion for public projects [SCI-10906]
This commit is contained in:
parent
82ce3db5a0
commit
09dc6c3ec6
1 changed files with 0 additions and 2 deletions
|
@ -103,8 +103,6 @@ module AccessPermissions
|
||||||
destroy: true
|
destroy: true
|
||||||
)
|
)
|
||||||
|
|
||||||
user_assignment.destroy!
|
|
||||||
|
|
||||||
log_activity(:unassign_user_from_project, { user_target: user_assignment.user.id,
|
log_activity(:unassign_user_from_project, { user_target: user_assignment.user.id,
|
||||||
role: user_assignment.user_role.name })
|
role: user_assignment.user_role.name })
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue