I did something like:
<intercept-url pattern="/welcome" access = "hasRole
('ROLE_USER') or hasRole ('ROLE_OWNER')"/>
I can access this page as a user with role user but I cannot access this page as an user with a role owner.One user can only have one role (cannot be user and owner at the same time)Users are connected to roles via @ManyToMany and @Jointable- it works okay in the rest of an app,it just does not work in here. Can you help me to solve this problem?