Skip to content

Commit

Permalink
Update admin.adoc
Browse files Browse the repository at this point in the history
The example for displaying notifications seemed to use a nonexistent method
  • Loading branch information
zbuc authored Aug 25, 2016
1 parent a1d767f commit f0b8f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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"))

This comment has been minimized.

Copy link
@evolution23

evolution23 Aug 31, 2016

rdfvalue

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:
Expand Down

0 comments on commit f0b8f8f

Please sign in to comment.