If I use EntitySecurityListener to enable Seam security on an entity bean, is there some way I can refer to the entity itself in a @Restrict EL expression (ie a security expression)?
Something like @Restrict(s:hasPermission(this.project,'add-item')
) ?