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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...