From f0b8f8fd89756271b5ad9a5bc1a8366e9cc0d8fd Mon Sep 17 00:00:00 2001 From: Chris Czub Date: Thu, 25 Aug 2016 10:55:08 -0400 Subject: [PATCH] Update admin.adoc The example for displaying notifications seemed to use a nonexistent method --- admin.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin.adoc b/admin.adoc index 1778fc9..d3a1c3f 100644 --- a/admin.adoc +++ b/admin.adoc @@ -1124,7 +1124,7 @@ Notifiying Users of Updates or Issues via the GUI GRR has the ability to display a notification similar to the yellow link:http://www.chromium.org/user-experience/infobars[Chrome Infobar]. This can be useful if you need to let users know about new functionality, updates, problems, downtime etc. For now it requires console access to set a new notification. ---- -flow.GRRFlow.StartFlow(flow_name="SetGlobalNotification", type="WARNING", content="NOTE: This is a one-time warning. To hide this message click on X in the right corner of this panel.", link="http://company.com/moreinfo", token=rdfvalue.ACLToken(username="myuser")) +flow.GRRFlow.StartFlow(flow_name="SetGlobalNotification", type="WARNING", content="NOTE: This is a one-time warning. To hide this message click on X in the right corner of this panel.", link="http://company.com/moreinfo", token=access_control.ACLToken(username="myuser")) ---- To remove all notifications: