mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-24 12:46:39 +08:00
Merge pull request #8750 from okriuchykhin/ok_SCI_12187_v3
Fix automatic creation of user group assignments for new objects [SCI-12187]
This commit is contained in:
commit
138045f060
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ class UserGroupAssignment < ApplicationRecord
|
|||
belongs_to :team
|
||||
belongs_to :user_group
|
||||
belongs_to :user_role
|
||||
belongs_to :assigned_by, class_name: 'User'
|
||||
belongs_to :assigned_by, class_name: 'User', optional: true
|
||||
|
||||
enum :assigned, { automatically: 0, manually: 1 }, suffix: true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue