I'm assuming that you're using the JdbcRealm. My initial answer is, add one row per role->permission mapping, and don't worry about duplicating roles.
But, perhaps if you could explain a bit about why you are trying to avoid duplicating roles, we could try to address that problem. -Jared On Aug 3, 2011 6:57 AM, "Krishan Senevirathne" <[email protected]> wrote: Hi, I'm new to apache shiro and I found out this is really an awesome project. But I'm having a problem while going through some stuff. I'm having a db table called role_permissions which has columns "role" and "permission". My problem is how can I add multiple permissions to a role with out duplicating role name. I tried adding multiple permissions separated by a comma. But it doesn't work. Thanks in advance... Cheers Krishan
