Organization settings crashes for users without access to private stream set for New stream notifications
See original GitHub issueLog in as an administrator and set ⚙️ → Organization settings → Notifications → New stream notifications (or New user notifications) to a private stream. Then log in as a normal user who doesn’t have access to that private stream, and try to open ⚙️ → Organization settings. The tab fails to load and gives this error:
Uncaught TypeError: can't access property "name", item is undefined
render dropdown_list_widget.js:39
setup dropdown_list_widget.js:119
DropdownListWidget dropdown_list_widget.js:132
init_dropdown_widgets settings_org.js:613
build_page settings_org.js:651
set_up settings_org.js:539
load_settings_section settings_sections.js:68
activate_section_or_default settings_panel_menu.js:112
launch admin.js:147
do_hashchange_overlay hashchange.js:216
hashchanged hashchange.js:255
initialize hashchange.js:308
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (9 by maintainers)
Top Results From Across the Web
Change notification settings on iPhone - Apple Support
Go to Settings > Privacy & Security > Location Services. Turn on Location Services. Tap an app (if any appear in the list),...
Read more >Create and Manage Notification Channels - Android Developers
On this page · Create a notification channel. Set the importance level · Read notification channel settings · Open the notification channel ...
Read more >Create device security policies in Basic Mobility and Security
Use Basic Mobility and Security to create device policies that protect your organization information.
Read more >Troubleshooting AppStream 2.0 User Issues
If you do not specify this attribute, the session duration is set to a ... If your users access their streaming applications in...
Read more >Set Chrome policies for users or browsers - Google Support
User accounts to sync policies and preferences across a user's devices. Settings apply whenever the user signs in to Chrome browser with their...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

We definitely want to allow private streams here; especially for the “signups notifications stream”, there’s a good use case for the feature. And in any case, we need to support the stream being unknown, since guest users may not have access to the notifications stream.
@timabbott ptal at the PR (#17268).