[jboss-user] [JBoss Seam] - Re: Bug or not?

pete.muir@jboss.org do-not-reply at jboss.com
Thu Aug 30 07:54:17 EDT 2007


Try

 @Restrict("#{s:hasRole('Librarian')}")
  | @Transactional
  | public void addUser() {
  | getInstance().setRole(Role.USER);
  | persist();
  | } 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079571#4079571

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079571



More information about the jboss-user mailing list