List<String> list=Arrays.asList(permissionArray);
role.setPermissions(new ArrayList<>(list));