Update user_auto_banned_email to scope the email to a group
For SaaS, we auto-ban a user in a group when they exceed unique project download limit set for that namespace. This version of user_auto_banned_email (with group passed in) will be sent to group owners when that happens.
显示
- app/mailers/emails/admin_notification.rb 6 个添加, 1 个删除app/mailers/emails/admin_notification.rb
- app/mailers/previews/notify_preview.rb 9 个添加, 1 个删除app/mailers/previews/notify_preview.rb
- app/views/notify/user_auto_banned_email.html.haml 1 个添加, 1 个删除app/views/notify/user_auto_banned_email.html.haml
- app/views/notify/user_auto_banned_email.text.erb 1 个添加, 1 个删除app/views/notify/user_auto_banned_email.text.erb
- locale/gitlab.pot 7 个添加, 1 个删除locale/gitlab.pot
- spec/mailers/emails/admin_notification_spec.rb 15 个添加, 1 个删除spec/mailers/emails/admin_notification_spec.rb
加载中
想要评论请 注册 或 登录