Index: trunk/grails-app/services/com/lemans/auth/authorization/RoleManagerService.groovy =================================================================== diff -u -r8568 -r9783 --- trunk/grails-app/services/com/lemans/auth/authorization/RoleManagerService.groovy (.../RoleManagerService.groovy) (revision 8568) +++ trunk/grails-app/services/com/lemans/auth/authorization/RoleManagerService.groovy (.../RoleManagerService.groovy) (revision 9783) @@ -74,7 +74,7 @@ */ boolean deleteDomainUserRole(Map criteria, Integer id, String username) { DomainUser domainUser = DomainUser.getByComposite(criteria.domain.toInteger(), criteria.user.toInteger()) - DomainUserRole domainUserRole = DomainUserRole.findByDomainUserAndRole(domainUser, findRoleById(id)) + DomainUserRole domainUserRole = DomainUserRole.findByDomainUserAndRoleAndDateDeletedIsNull(domainUser, findRoleById(id)) if (domainUserRole) { softDelete(domainUserRole, username) } } }