Skip to content

Email notification settings not displaying all user groups

Summary

We recently added group-level email routing with https://gitlab.com/gitlab-org/gitlab-ce/issues/8111 which is now live on GitLab.com. Unfortunately, only a portion of user groups are displaying preventing one from modifying the notification email associated.

Steps to reproduce

  1. Visit https://gitlab.com/profile/notifications and count displayed groups
  2. Compare list to user groups https://gitlab.com/dashboard/groups

Example Project

N/A

What is the current bug behavior?

Only a subset of a user's groups are displayed (possibly those which have had the default settings modified?)

What is the expected correct behavior?

All of a user's groups should be displayed on the notifications page

Relevant logs and/or screenshots

Image_2019-06-13_at_10.15.49

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:env:info)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)