Skip to content
This repository
  • 2 commits
  • 1 file changed
  • 0 comments
  • 2 contributors

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  src/sentry/plugins/bases/notify.py
3  src/sentry/plugins/bases/notify.py
@@ -13,6 +13,7 @@
13 13
 from sentry.models import UserOption
14 14
 from sentry.utils.cache import cache
15 15
 from sentry.web.helpers import get_project_list
  16
+from sentry.constants import MEMBER_USER
16 17
 
17 18
 
18 19
 class NotificationConfigurationForm(forms.Form):
@@ -44,7 +45,7 @@ class NotificationUserOptionsForm(BaseNotificationUserOptionsForm):
44 45
     def __init__(self, *args, **kwargs):
45 46
         super(NotificationUserOptionsForm, self).__init__(*args, **kwargs)
46 47
         user = self.user
47  
-        self.project_list = get_project_list(user, key='slug')
  48
+        self.project_list = get_project_list(user, access=MEMBER_USER, key='slug')
48 49
         project_list = sorted(self.project_list.items())
49 50
         self.fields['projects'].choices = project_list
50 51
         self.fields['projects'].widget.choices = self.fields['projects'].choices

No commit comments for this range

Something went wrong with that request. Please try again.