Skip to content
代码片段 群组 项目
未验证 提交 22d57d0e 编辑于 作者: Doug Stull's avatar Doug Stull 提交者: GitLab
浏览文件

Add users to default organization on creation

- we need to associate all users with at least one organization.
- For now, we only have the default organization, so we'll use that.
  That logic could change in the future depending on changes to
  user registration logic.
- Placement as a callback and the potential drawbacks to that approach
  were considered. However, due to how users are created during
  our different types of registration, not all go through our
  creation service. It is more likely they are handled by
  a create/save operation in the `Devise::RegistrationsController`
上级 4c7dbdc6
No related branches found
No related tags found
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册