From 13c45315d4b97265db1daf9c9211743dce16a87d Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Wed, 4 Sep 2019 18:59:50 -0600 Subject: [PATCH] More ACS docs --- docs/configuration/menu-hjson.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/configuration/menu-hjson.md b/docs/configuration/menu-hjson.md index 9294c08c..37b7f669 100644 --- a/docs/configuration/menu-hjson.md +++ b/docs/configuration/menu-hjson.md @@ -180,6 +180,23 @@ opOnlyMenu: { } ``` +### Action Matches +Action blocks (`action`) can perform ACS checks: +``` +// ... +{ + action: [ + { + acs: SC1 + action: @menu:secureMenu + } + { + action: @menu:nonSecureMenu + } + ] +} +``` + ### Flow Control The `next` member of a menu may be an array of objects containing an `acs` check as well as the destination. Depending on the current user's ACS, the system will pick the appropriate target. The last element in an array without an `acs` can be used as a catch all. Example: ```