*/
public void removeBGRight(String bgRight, BusinessGroup rightGroup) {
if (BusinessGroup.TYPE_RIGHTGROUP.equals(rightGroup.getType())) {
Manager secm = ManagerFactory.getManager();
BGContext context = rightGroup.getGroupContext();
secm.deletePolicy(rightGroup.getPartipiciantGroup(), bgRight, context);
} else {
throw new AssertException("Only right groups can have bg rights, but type was ::" + rightGroup.getType());
}
}