Use per-action API to set restriction in snap demo