If the AudioAlerts system preference is disabled, an error on the Audio Alerts page warns the user that it must be enabled. If the user has the correct permissions this error should link directly to system preferences. Similarly, in the AudioAlerts preference description there is a reference to the audio alerts page. There isn't a way to make this link dependent on permissions but I think the likelihood is good that a user with permission to edit preferences will be able to access Audio Alerts.
Created attachment 116210 [details] [review] Bug 27592: Link audio alerts to corresponding preference and back This patch adds links from the audio alerts page to system preferences and back. To test, apply the patch and disable the "AudioAlerts" system preference. - Log in to the staff interface as a user with permission to access audio alerts and system preferences. - Go to Administration -> Audio alerts. - You should see an alert, "Audio alerts are disabled." - Test the link to system preferences. It should take you a preferences search which returns only "AudioAlerts." - On the system preference page, test that the link to audio alerts works correctly. - Disable audio alerts again. - Log in to the staf interface as a user with permission to access audio alerts but WITHOUT permission to access system preferences. - Go to Administration -> Audio alerts. - You should see an alert, "Audio alerts are disabled." - There should be no link to system preferences.
Created attachment 117288 [details] [review] Bug 27592: Link audio alerts to corresponding preference and back This patch adds links from the audio alerts page to system preferences and back. To test, apply the patch and disable the "AudioAlerts" system preference. - Log in to the staff interface as a user with permission to access audio alerts and system preferences. - Go to Administration -> Audio alerts. - You should see an alert, "Audio alerts are disabled." - Test the link to system preferences. It should take you a preferences search which returns only "AudioAlerts." - On the system preference page, test that the link to audio alerts works correctly. - Disable audio alerts again. - Log in to the staf interface as a user with permission to access audio alerts but WITHOUT permission to access system preferences. - Go to Administration -> Audio alerts. - You should see an alert, "Audio alerts are disabled." - There should be no link to system preferences. Signed-off-by: David Nind <david@davidnind.com>
Created attachment 117414 [details] [review] Bug 27592: Link audio alerts to corresponding preference and back This patch adds links from the audio alerts page to system preferences and back. To test, apply the patch and disable the "AudioAlerts" system preference. - Log in to the staff interface as a user with permission to access audio alerts and system preferences. - Go to Administration -> Audio alerts. - You should see an alert, "Audio alerts are disabled." - Test the link to system preferences. It should take you a preferences search which returns only "AudioAlerts." - On the system preference page, test that the link to audio alerts works correctly. - Disable audio alerts again. - Log in to the staf interface as a user with permission to access audio alerts but WITHOUT permission to access system preferences. - Go to Administration -> Audio alerts. - You should see an alert, "Audio alerts are disabled." - There should be no link to system preferences. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 21.05, thanks to everybody involved!
Enhancement not pushed to 20.11.x