I am using s:hasPermission for authorization and need facts inserted into working memory. Is there an efficient way to do something like a bulk insert of facts into working memory? Currently, I insert facts in my code:
factHandle = RuleBasedPermissionResolver.instance().getSecurityContext().insert(logEntry);
and it would be nice if this didn't have to be executed for every fact.
Thanks for any tips.