Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/sentry/plugins/bases/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from sentry.models import UserOption
from sentry.utils.cache import cache
from sentry.web.helpers import get_project_list
from sentry.constants import MEMBER_USER


class NotificationConfigurationForm(forms.Form):
Expand Down Expand Up @@ -44,7 +45,7 @@ class NotificationUserOptionsForm(BaseNotificationUserOptionsForm):
def __init__(self, *args, **kwargs):
super(NotificationUserOptionsForm, self).__init__(*args, **kwargs)
user = self.user
self.project_list = get_project_list(user, key='slug')
self.project_list = get_project_list(user, access=MEMBER_USER, key='slug')
project_list = sorted(self.project_list.items())
self.fields['projects'].choices = project_list
self.fields['projects'].widget.choices = self.fields['projects'].choices
Expand Down