aspose file tools*
The moose likes JBoss/WildFly and the fly likes Do you know how to write this drools? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Do you know how to write this drools?" Watch "Do you know how to write this drools?" New topic
Author

Do you know how to write this drools?

ya ji
Ranch Hand

Joined: Jul 14, 2008
Posts: 40
rule ViewBookAction
no-loop
when
perm: PermissionCheck(target == 'book', action == 'view', granted == false)

How to write below rule?
[(A and (A1 or A2 or A3)) or (B and (B1 or B2 or B3)) or C or D]



then
perm.grant();
end
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Do you know how to write this drools?