Calling another Seam permission resolver from Drools

Posted by ciaron on Stack Overflow See other posts from Stack Overflow or by ciaron
Published on 2010-05-28T12:28:21Z Indexed on 2010/05/28 12:32 UTC
Read the original article Hit count: 196

Filed under:
|

I'm just discovering Drools with Seam, and I would like to call my PersistentPermissionResolver directly from the Drools code. Do you know if there is a way to achieve that and is that a good idea?

I would also like to call the hasPermission method from my xxx.page.xml as follows:

<restrict>#{s:hasPermission('menu_32', 'view')}</restrict>

© Stack Overflow or respective owner

Related posts about seam

Related posts about drools